diff options
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1631,6 +1631,9 @@ void conf(struct ctx *c, int argc, char **argv) conf_ugid(runas, &uid, &gid); + if (!c->foreground && c->force_stderr) + die("Can't log to standard error if not running in foreground"); + if (logfile) { logfile_init(c->mode == MODE_PASTA ? "pasta" : "passt", logfile, logsize); |