From c8de77fbbee099f9e21e4363b049cd36453588ea Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 31 Oct 2007 22:34:26 +0000 Subject: Fix starting state and clean some whitespace --- src/rc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rc.c') diff --git a/src/rc.c b/src/rc.c index 894eccb2..21b87880 100644 --- a/src/rc.c +++ b/src/rc.c @@ -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) -- cgit v1.2.3