summaryrefslogtreecommitdiff
path: root/miscutils/timeout.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/timeout.c')
-rw-r--r--miscutils/timeout.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/miscutils/timeout.c b/miscutils/timeout.c
index 9d56593..8df9ff0 100644
--- a/miscutils/timeout.c
+++ b/miscutils/timeout.c
@@ -52,9 +52,8 @@ int timeout_main(int argc UNUSED_PARAM, char **argv)
/* -p option is not documented, it is needed to support NOMMU. */
/* -t SECONDS; -p PARENT_PID */
- opt_complementary = "t+" USE_FOR_NOMMU(":p+");
/* '+': stop at first non-option */
- getopt32(argv, "+s:t:" USE_FOR_NOMMU("p:"), &opt_s, &timeout, &parent);
+ getopt32(argv, "+s:t:+" USE_FOR_NOMMU("p:+"), &opt_s, &timeout, &parent);
/*argv += optind; - no, wait for bb_daemonize_or_rexec! */
signo = get_signum(opt_s);
if (signo < 0)