From: Denis Vlasenko Date: Sun, 22 Mar 2009 14:49:00 +0000 (-0000) Subject: timeout: fix parsing of -t NUM on MMU X-Git-Tag: 1_14_0~197 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3fd104630020168ead90123e45d848d4d2d0a555;p=oweals%2Fbusybox.git timeout: fix parsing of -t NUM on MMU --- diff --git a/miscutils/timeout.c b/miscutils/timeout.c index 65a8ceadf..83ae56e69 100644 --- a/miscutils/timeout.c +++ b/miscutils/timeout.c @@ -48,7 +48,7 @@ int timeout_main(int argc UNUSED_PARAM, char **argv) /* -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)