diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-03-22 14:49:00 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-03-22 14:49:00 +0000 |
commit | 3fd104630020168ead90123e45d848d4d2d0a555 (patch) | |
tree | ce9036e3c699485c4a6628dfec0343d95b96fc68 | |
parent | 424f79b48f8a28da687c11f98927e3bd6ca805cf (diff) | |
download | busybox-w32-3fd104630020168ead90123e45d848d4d2d0a555.tar.gz busybox-w32-3fd104630020168ead90123e45d848d4d2d0a555.tar.bz2 busybox-w32-3fd104630020168ead90123e45d848d4d2d0a555.zip |
timeout: fix parsing of -t NUM on MMU
-rw-r--r-- | miscutils/timeout.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
48 | /* -t SECONDS; -p PARENT_PID */ | 48 | /* -t SECONDS; -p PARENT_PID */ |
49 | opt_complementary = "t+" USE_FOR_NOMMU(":p+"); | 49 | opt_complementary = "t+" USE_FOR_NOMMU(":p+"); |
50 | /* '+': stop at first non-option */ | 50 | /* '+': stop at first non-option */ |
51 | getopt32(argv, "+s:t" USE_FOR_NOMMU(":p:"), &opt_s, &timeout, &parent); | 51 | getopt32(argv, "+s:t:" USE_FOR_NOMMU("p:"), &opt_s, &timeout, &parent); |
52 | /*argv += optind; - no, wait for bb_daemonize_or_rexec! */ | 52 | /*argv += optind; - no, wait for bb_daemonize_or_rexec! */ |
53 | signo = get_signum(opt_s); | 53 | signo = get_signum(opt_s); |
54 | if (signo < 0) | 54 | if (signo < 0) |