diff options
Diffstat (limited to 'libbb/vfork_daemon_rexec.c')
-rw-r--r-- | libbb/vfork_daemon_rexec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libbb/vfork_daemon_rexec.c b/libbb/vfork_daemon_rexec.c index 15c92a7cd..6125983ce 100644 --- a/libbb/vfork_daemon_rexec.c +++ b/libbb/vfork_daemon_rexec.c | |||
@@ -98,7 +98,6 @@ int FAST_FUNC run_nofork_applet(int applet_no, char **argv) | |||
98 | * (getopt32() does it itself, but getopt() doesn't (and can't)) | 98 | * (getopt32() does it itself, but getopt() doesn't (and can't)) |
99 | */ | 99 | */ |
100 | GETOPT_RESET(); | 100 | GETOPT_RESET(); |
101 | /* opt_complementary = NULL; - cleared by each getopt32() call anyway */ | ||
102 | 101 | ||
103 | argc = string_array_len(argv); | 102 | argc = string_array_len(argv); |
104 | 103 | ||
@@ -123,7 +122,6 @@ int FAST_FUNC run_nofork_applet(int applet_no, char **argv) | |||
123 | restore_nofork_data(&old); | 122 | restore_nofork_data(&old); |
124 | /* Other globals can be simply reset to defaults */ | 123 | /* Other globals can be simply reset to defaults */ |
125 | GETOPT_RESET(); | 124 | GETOPT_RESET(); |
126 | /* opt_complementary = NULL; - cleared by each getopt32() call anyway */ | ||
127 | 125 | ||
128 | return rc & 0xff; /* don't confuse people with "exitcodes" >255 */ | 126 | return rc & 0xff; /* don't confuse people with "exitcodes" >255 */ |
129 | } | 127 | } |
@@ -138,7 +136,6 @@ void FAST_FUNC run_noexec_applet_and_exit(int a, const char *name, char **argv) | |||
138 | xfunc_error_retval = EXIT_FAILURE; | 136 | xfunc_error_retval = EXIT_FAILURE; |
139 | die_func = NULL; | 137 | die_func = NULL; |
140 | GETOPT_RESET(); | 138 | GETOPT_RESET(); |
141 | /* opt_complementary = NULL; - cleared by each getopt32() call anyway */ | ||
142 | 139 | ||
143 | //TODO: think pidof, pgrep, pkill! | 140 | //TODO: think pidof, pgrep, pkill! |
144 | //set_task_comm() makes our pidof find NOEXECs (e.g. "yes >/dev/null"), | 141 | //set_task_comm() makes our pidof find NOEXECs (e.g. "yes >/dev/null"), |