support of plutostderrlog keyword

This commit is contained in:
Andreas Steffen
2008-05-11 07:59:00 +00:00
parent 6cf1215e3c
commit 9a6d9f10e2
6 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -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";
}