diff options
author | Roy Marples <roy@marples.name> | 2007-10-31 22:34:26 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-10-31 22:34:26 +0000 |
commit | c8de77fbbee099f9e21e4363b049cd36453588ea (patch) | |
tree | 35d199d1fbbab1dc7b5247109e0b60f2faf7b83e /src/rc.c | |
parent | 9fa717fb1d51356a4fb3a6908048a142fe4a8b9a (diff) |
Fix starting state and clean some whitespace
Diffstat (limited to 'src/rc.c')
-rw-r--r-- | src/rc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -284,7 +284,7 @@ static int do_service (int argc, char **argv) else if (strcmp (applet, "service_inactive") == 0) ok = (rc_service_state (argv[0]) & RC_SERVICE_INACTIVE); else if (strcmp (applet, "service_starting") == 0) - ok = (rc_service_state (argv[0]) & RC_SERVICE_STOPPING); + ok = (rc_service_state (argv[0]) & RC_SERVICE_STARTING); else if (strcmp (applet, "service_stopping") == 0) ok = (rc_service_state (argv[0]) & RC_SERVICE_STOPPING); else if (strcmp (applet, "service_coldplugged") == 0) @@ -318,7 +318,7 @@ static int do_mark_service (int argc, char **argv) else if (strcmp (applet, "mark_service_inactive") == 0) ok = rc_service_mark (argv[0], RC_SERVICE_INACTIVE); else if (strcmp (applet, "mark_service_starting") == 0) - ok = rc_service_mark (argv[0], RC_SERVICE_STOPPING); + ok = rc_service_mark (argv[0], RC_SERVICE_STARTING); else if (strcmp (applet, "mark_service_stopping") == 0) ok = rc_service_mark (argv[0], RC_SERVICE_STOPPING); else if (strcmp (applet, "mark_service_coldplugged") == 0) |