diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-01-28 22:57:10 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-01-28 22:57:10 +0000 |
commit | 9772816570f0a63ac301f1885292b064e23f5310 (patch) | |
tree | a8e9c2947cd4dbc718989d508dfc742840a16e81 /libbb/appletlib.c | |
parent | 73032ca04be49c096f745f0873d67d9c831642bd (diff) | |
download | busybox-w32-9772816570f0a63ac301f1885292b064e23f5310.tar.gz busybox-w32-9772816570f0a63ac301f1885292b064e23f5310.tar.bz2 busybox-w32-9772816570f0a63ac301f1885292b064e23f5310.zip |
*: move getopt reset code to better place(s)
Diffstat (limited to 'libbb/appletlib.c')
-rw-r--r-- | libbb/appletlib.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c index 80adff5e7..993618e98 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c | |||
@@ -638,7 +638,6 @@ void run_applet_no_and_exit(int applet_no, char **argv) | |||
638 | argc++; | 638 | argc++; |
639 | 639 | ||
640 | /* Reinit some shared global data */ | 640 | /* Reinit some shared global data */ |
641 | optind = 1; | ||
642 | xfunc_error_retval = EXIT_FAILURE; | 641 | xfunc_error_retval = EXIT_FAILURE; |
643 | 642 | ||
644 | applet_name = APPLET_NAME(applet_no); | 643 | applet_name = APPLET_NAME(applet_no); |