aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter/invokepluto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/starter/invokepluto.c')
-rw-r--r--src/starter/invokepluto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/starter/invokepluto.c b/src/starter/invokepluto.c
index c2b9c737e..d68db568f 100644
--- a/src/starter/invokepluto.c
+++ b/src/starter/invokepluto.c
@@ -104,7 +104,7 @@ starter_stop_pluto (void)
}
int
-starter_start_pluto (starter_config_t *cfg, bool debug)
+starter_start_pluto (starter_config_t *cfg, bool no_fork)
{
struct stat stb;
int i;
@@ -121,7 +121,7 @@ starter_start_pluto (starter_config_t *cfg, bool debug)
printf ("starter_start_pluto entered\n");
- if (debug)
+ if (cfg->setup.plutostderrlog || no_fork)
{
arg[argc++] = "--stderrlog";
}