diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-01-29 01:57:10 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-01-29 01:57:10 +0300 |
commit | 9772816570f0a63ac301f1885292b064e23f5310 (patch) | |
tree | a8e9c2947cd4dbc718989d508dfc742840a16e81 /libbb/appletlib.c | |
parent | 73032ca04be49c096f745f0873d67d9c831642bd (diff) |
*: 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) argc++; /* Reinit some shared global data */ - optind = 1; xfunc_error_retval = EXIT_FAILURE; applet_name = APPLET_NAME(applet_no); |