aboutgitcodebugslistschat
path: root/passt.c
diff options
context:
space:
mode:
Diffstat (limited to 'passt.c')
-rw-r--r--passt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/passt.c b/passt.c
index 6e5a72a..399cc08 100644
--- a/passt.c
+++ b/passt.c
@@ -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);
}