svn commit: trunk/busybox/debianutils

vda at busybox.net vda at busybox.net
Sat Sep 27 01:05:13 UTC 2008


Author: vda
Date: 2008-09-26 18:05:13 -0700 (Fri, 26 Sep 2008)
New Revision: 23529

Log:
start_stop_daemon: accept (and ignore) -R <param>



Modified:
   trunk/busybox/debianutils/start_stop_daemon.c


Changeset:
Modified: trunk/busybox/debianutils/start_stop_daemon.c
===================================================================
--- trunk/busybox/debianutils/start_stop_daemon.c	2008-09-26 23:54:59 UTC (rev 23528)
+++ trunk/busybox/debianutils/start_stop_daemon.c	2008-09-27 01:05:13 UTC (rev 23529)
@@ -349,11 +349,11 @@
 	opt_complementary = "K:S:K--S:S--K:m?p:K?xpun:S?xa"
 		USE_FEATURE_START_STOP_DAEMON_FANCY("q-v");
 	opt = getopt32(argv, "KSbqtma:n:s:u:c:x:p:"
-		USE_FEATURE_START_STOP_DAEMON_FANCY("ovN:"),
-//		USE_FEATURE_START_STOP_DAEMON_FANCY("ovN:R:"),
+		USE_FEATURE_START_STOP_DAEMON_FANCY("ovN:R:"),
 		&startas, &cmdname, &signame, &userspec, &chuid, &execname, &pidfile
 		USE_FEATURE_START_STOP_DAEMON_FANCY(,&opt_N)
-//		USE_FEATURE_START_STOP_DAEMON_FANCY(,&retry_arg)
+		/* We accept and ignore -R <param> / --retry <param> */
+		USE_FEATURE_START_STOP_DAEMON_FANCY(,NULL)
 	);
 
 	if (opt & OPT_s) {




More information about the busybox-cvs mailing list