diff options
Diffstat (limited to 'miscutils/timeout.c')
-rw-r--r-- | miscutils/timeout.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/miscutils/timeout.c b/miscutils/timeout.c index 9d56593ba..8df9ff0fd 100644 --- a/miscutils/timeout.c +++ b/miscutils/timeout.c | |||
@@ -52,9 +52,8 @@ int timeout_main(int argc UNUSED_PARAM, char **argv) | |||
52 | /* -p option is not documented, it is needed to support NOMMU. */ | 52 | /* -p option is not documented, it is needed to support NOMMU. */ |
53 | 53 | ||
54 | /* -t SECONDS; -p PARENT_PID */ | 54 | /* -t SECONDS; -p PARENT_PID */ |
55 | opt_complementary = "t+" USE_FOR_NOMMU(":p+"); | ||
56 | /* '+': stop at first non-option */ | 55 | /* '+': stop at first non-option */ |
57 | getopt32(argv, "+s:t:" USE_FOR_NOMMU("p:"), &opt_s, &timeout, &parent); | 56 | getopt32(argv, "+s:t:+" USE_FOR_NOMMU("p:+"), &opt_s, &timeout, &parent); |
58 | /*argv += optind; - no, wait for bb_daemonize_or_rexec! */ | 57 | /*argv += optind; - no, wait for bb_daemonize_or_rexec! */ |
59 | signo = get_signum(opt_s); | 58 | signo = get_signum(opt_s); |
60 | if (signo < 0) | 59 | if (signo < 0) |