aboutsummaryrefslogtreecommitdiff
path: root/debianutils/start_stop_daemon.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-21 11:09:40 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-21 11:09:40 +0000
commit5e34ff29bcc870936ab18172f438a34d042d4e03 (patch)
treea5e7a528f2f916eb883f1161eadceacdf2dca4be /debianutils/start_stop_daemon.c
parent8b814b4a349e2262c0ad25793b05206a14651ebb (diff)
downloadbusybox-w32-5e34ff29bcc870936ab18172f438a34d042d4e03.tar.gz
busybox-w32-5e34ff29bcc870936ab18172f438a34d042d4e03.tar.bz2
busybox-w32-5e34ff29bcc870936ab18172f438a34d042d4e03.zip
*: mass renaming of USE_XXXX to IF_XXXX
and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
Diffstat (limited to 'debianutils/start_stop_daemon.c')
-rw-r--r--debianutils/start_stop_daemon.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c
index ab607bde0..6726fc7c9 100644
--- a/debianutils/start_stop_daemon.c
+++ b/debianutils/start_stop_daemon.c
@@ -347,13 +347,13 @@ int start_stop_daemon_main(int argc UNUSED_PARAM, char **argv)
347 /* -xa (at least one) is required if -S is given */ 347 /* -xa (at least one) is required if -S is given */
348 /* -q turns off -v */ 348 /* -q turns off -v */
349 opt_complementary = "K:S:K--S:S--K:m?p:K?xpun:S?xa" 349 opt_complementary = "K:S:K--S:S--K:m?p:K?xpun:S?xa"
350 USE_FEATURE_START_STOP_DAEMON_FANCY("q-v"); 350 IF_FEATURE_START_STOP_DAEMON_FANCY("q-v");
351 opt = getopt32(argv, "KSbqtma:n:s:u:c:x:p:" 351 opt = getopt32(argv, "KSbqtma:n:s:u:c:x:p:"
352 USE_FEATURE_START_STOP_DAEMON_FANCY("ovN:R:"), 352 IF_FEATURE_START_STOP_DAEMON_FANCY("ovN:R:"),
353 &startas, &cmdname, &signame, &userspec, &chuid, &execname, &pidfile 353 &startas, &cmdname, &signame, &userspec, &chuid, &execname, &pidfile
354 USE_FEATURE_START_STOP_DAEMON_FANCY(,&opt_N) 354 IF_FEATURE_START_STOP_DAEMON_FANCY(,&opt_N)
355 /* We accept and ignore -R <param> / --retry <param> */ 355 /* We accept and ignore -R <param> / --retry <param> */
356 USE_FEATURE_START_STOP_DAEMON_FANCY(,NULL) 356 IF_FEATURE_START_STOP_DAEMON_FANCY(,NULL)
357 ); 357 );
358 358
359 if (opt & OPT_s) { 359 if (opt & OPT_s) {
@@ -366,7 +366,7 @@ int start_stop_daemon_main(int argc UNUSED_PARAM, char **argv)
366 if (!execname) /* in case -a is given and -x is not */ 366 if (!execname) /* in case -a is given and -x is not */
367 execname = startas; 367 execname = startas;
368 368
369// USE_FEATURE_START_STOP_DAEMON_FANCY( 369// IF_FEATURE_START_STOP_DAEMON_FANCY(
370// if (retry_arg) 370// if (retry_arg)
371// retries = xatoi_u(retry_arg); 371// retries = xatoi_u(retry_arg);
372// ) 372// )