projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
424f79b
)
timeout: fix parsing of -t NUM on MMU
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 22 Mar 2009 14:49:00 +0000
(14:49 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 22 Mar 2009 14:49:00 +0000
(14:49 -0000)
miscutils/timeout.c
patch
|
blob
|
history
diff --git
a/miscutils/timeout.c
b/miscutils/timeout.c
index 65a8ceadf229e44d6bd90aeb4ee80798a431bae6..83ae56e69edb333d3d951a01d83de0cc56e017a8 100644
(file)
--- 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)