summaryrefslogtreecommitdiff
path: root/service.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-03-31 20:08:05 +0200
committerLennart Poettering <lennart@poettering.net>2010-03-31 20:08:05 +0200
commitb866264a18095d5302443ab0a95560d973ba4b10 (patch)
treed8adcb5b729b8d04f3f08d90ca6087729809ec38 /service.c
parent8e27452380193a5f81bfd08a59aab8b07008ba0b (diff)
gcc: make a couple of gcc warnings go away
Diffstat (limited to 'service.c')
-rw-r--r--service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/service.c b/service.c
index 2841689467..149a791b05 100644
--- a/service.c
+++ b/service.c
@@ -1436,7 +1436,7 @@ static void service_sigchld_event(Unit *u, pid_t pid, int code, int status) {
* don't care about failing commands. */
if (s->control_command->command_next &&
- (success || (s->state == SERVICE_EXEC_STOP || s->state == SERVICE_EXEC_STOP_POST)))
+ (success || (s->state == SERVICE_STOP || s->state == SERVICE_STOP_POST)))
/* There is another command to *
* execute, so let's do that. */