diff options
-rw-r--r-- | passt.1 | 2 | ||||
-rw-r--r-- | passt.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -81,7 +81,7 @@ Don't print informational messages. .TP .BR \-f ", " \-\-foreground Don't run in background. -Default is to fork into background, if started from an interactive terminal. +Default is to fork into background. .TP .BR \-e ", " \-\-stderr @@ -365,7 +365,7 @@ int main(int argc, char **argv) else __setlogmask(LOG_UPTO(LOG_INFO)); - if (isatty(fileno(stdout)) && !c.foreground && daemon(0, 0)) { + if (!c.foreground && daemon(0, 0)) { perror("daemon"); exit(EXIT_FAILURE); } |