summaryrefslogtreecommitdiff
path: root/runit/runsvdir.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-01-27 22:22:17 +0000
committerDenis Vlasenko2007-01-27 22:22:17 +0000
commite2473f8c233c96fbcb295aa7a1f758a46f962f66 (patch)
treeb3391183fd648f092668588cbcd81971bc43f122 /runit/runsvdir.c
parent8c7839512039212ba88e48d856d0ac9835fdec67 (diff)
downloadbusybox-e2473f8c233c96fbcb295aa7a1f758a46f962f66.zip
busybox-e2473f8c233c96fbcb295aa7a1f758a46f962f66.tar.gz
runit/* cleanup part 2
Diffstat (limited to 'runit/runsvdir.c')
-rw-r--r--runit/runsvdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runit/runsvdir.c b/runit/runsvdir.c
index 41581a8..22f2a05 100644
--- a/runit/runsvdir.c
+++ b/runit/runsvdir.c
@@ -69,7 +69,7 @@ static void runsv(int no, char *name)
prog[0] = "runsv";
prog[1] = name;
- prog[2] = 0;
+ prog[2] = NULL;
sig_uncatch(SIGHUP);
sig_uncatch(SIGTERM);
if (pgrp) setsid();