aboutsummaryrefslogtreecommitdiff
path: root/debianutils
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-09-27 01:05:13 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-09-27 01:05:13 +0000
commit75897ea6d50a479bb87f282ae91d3902da89d6bc (patch)
tree4b37e1a804755f970d78e4cbdc07eb315ea31664 /debianutils
parent739e30fbc3363756e574b5761ff63ea97ffd61c1 (diff)
downloadbusybox-75897ea6d50a479bb87f282ae91d3902da89d6bc.tar.gz
start_stop_daemon: accept (and ignore) -R <param>
Diffstat (limited to 'debianutils')
-rw-r--r--debianutils/start_stop_daemon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c
index 99864d0a4..ab607bde0 100644
--- a/debianutils/start_stop_daemon.c
+++ b/debianutils/start_stop_daemon.c
@@ -349,11 +349,11 @@ int start_stop_daemon_main(int argc UNUSED_PARAM, char **argv)
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) {