summaryrefslogblamecommitdiffstats
path: root/core/modules/busybox/timeout-compat.patch
blob: 200cb0074a660a52666f17ce92917b5802647a11 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                        
diff --git a/coreutils/timeout.c b/coreutils/timeout.c
index 8b7bc2e..974854d 100644
--- a/coreutils/timeout.c
+++ b/coreutils/timeout.c
@@ -63,7 +63,7 @@ int timeout_main(int argc UNUSED_PARAM, char **argv)
 
        /* -t SECONDS; -p PARENT_PID */
        /* '+': stop at first non-option */
-       getopt32(argv, "+s:" USE_FOR_NOMMU("p:+"), &opt_s, &parent);
+       getopt32(argv, "+s:" USE_FOR_NOMMU("p:+") "t", &opt_s, &parent);
        /*argv += optind; - no, wait for bb_daemonize_or_rexec! */
 
        signo = get_signum(opt_s);