diff options
Diffstat (limited to 'src/sentinel.c')
-rw-r--r-- | src/sentinel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sentinel.c b/src/sentinel.c index 1d44763..59b89cc 100644 --- a/src/sentinel.c +++ b/src/sentinel.c @@ -146,12 +146,14 @@ start_command(int p[]) } if (pid == 0) { char *argv[] = { SHELL, "-c", NULL, NULL }; int i; + runas(); + close(0); close(1); close(2); open("/dev/null", O_RDWR); dup(outpipe[1]); dup(errpipe[1]); |