runit/* cleanup part 2

This commit is contained in:
Denis Vlasenko
2007-01-27 22:22:17 +00:00
parent 8c78395120
commit e2473f8c23
4 changed files with 43 additions and 33 deletions

View File

@@ -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();