diff options
-rw-r--r-- | daemons/runttys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/runttys.c b/daemons/runttys.c index b8c3e7f0..091cf519 100644 --- a/daemons/runttys.c +++ b/daemons/runttys.c @@ -406,7 +406,7 @@ main () if (fail) return fail; - if (setsid ()) + if (setsid () == -1) error (0, errno, "setsid"); sa.sa_handler = sighup; |