svn commit: [25785] trunk/busybox/miscutils

vda at busybox.net vda at busybox.net
Sun Mar 22 14:49:00 UTC 2009


Author: vda
Date: 2009-03-22 14:49:00 +0000 (Sun, 22 Mar 2009)
New Revision: 25785

Log:
timeout: fix parsing of -t NUM on MMU



Modified:
   trunk/busybox/miscutils/timeout.c


Changeset:
Modified: trunk/busybox/miscutils/timeout.c
===================================================================
--- trunk/busybox/miscutils/timeout.c	2009-03-22 14:23:34 UTC (rev 25784)
+++ trunk/busybox/miscutils/timeout.c	2009-03-22 14:49:00 UTC (rev 25785)
@@ -48,7 +48,7 @@
 	/* -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)



More information about the busybox-cvs mailing list