summaryrefslogtreecommitdiff
path: root/libbb/appletlib.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-01-28 22:57:10 +0000
committerDenis Vlasenko2008-01-28 22:57:10 +0000
commit9772816570f0a63ac301f1885292b064e23f5310 (patch)
treea8e9c2947cd4dbc718989d508dfc742840a16e81 /libbb/appletlib.c
parent73032ca04be49c096f745f0873d67d9c831642bd (diff)
downloadbusybox-9772816570f0a63ac301f1885292b064e23f5310.zip
busybox-9772816570f0a63ac301f1885292b064e23f5310.tar.gz
*: move getopt reset code to better place(s)
Diffstat (limited to 'libbb/appletlib.c')
-rw-r--r--libbb/appletlib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index 80adff5..993618e 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);