summaryrefslogtreecommitdiff
path: root/src/rc/runscript.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-04-26 14:57:39 +0000
committerRoy Marples <roy@marples.name>2008-04-26 14:57:39 +0000
commitb5d829789f6f4fabb02b7e995267f6e906b002ef (patch)
tree23c0e4bda08a2b06719ca2ececdb84de89ff3a8e /src/rc/runscript.c
parent1e3442f95d2acd290e417f9b26e908c98c4a2c36 (diff)
downloadopenrc-b5d829789f6f4fabb02b7e995267f6e906b002ef.tar.gz
openrc-b5d829789f6f4fabb02b7e995267f6e906b002ef.tar.bz2
openrc-b5d829789f6f4fabb02b7e995267f6e906b002ef.tar.xz
Check we have a list before running depends.
Diffstat (limited to 'src/rc/runscript.c')
-rw-r--r--src/rc/runscript.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/runscript.c b/src/rc/runscript.c
index 5977715..d3cd737 100644
--- a/src/rc/runscript.c
+++ b/src/rc/runscript.c
@@ -156,7 +156,7 @@ static void handle_signal(int sig)
if (write(signal_pipe[1], &sig, sizeof(sig)) == -1)
eerror("%s: send: %s", service, strerror(errno));
} else
- rc_waitpid (-1);
+ rc_waitpid(-1);
break;
case SIGWINCH: