summaryrefslogtreecommitdiffabout
path: root/src/com_start.c
Side-by-side diff
Diffstat (limited to 'src/com_start.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/com_start.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com_start.c b/src/com_start.c
index 65c1775..5744e39 100644
--- a/src/com_start.c
+++ b/src/com_start.c
@@ -112,6 +112,7 @@ com_start(void)
if (pid == 0) {
char *argv[] = { SHELL, "-c", NULL, NULL };
argv[2] = genrc_command;
+ runas();
execvp(SHELL, argv);
system_error(errno, "failed to exec %s", genrc_program);
exit(127);

Return to:

Send suggestions and report system problems to the System administrator.