aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/satd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/satd.c b/src/satd.c
index 7eaadc1..62f4872 100644
--- a/src/satd.c
+++ b/src/satd.c
@@ -152,6 +152,7 @@ main(int argc, char *argv[])
sock = STDIN_FILENO;
else
t (sock = create_socket(&address), sock == -1);
+
/* Socket shall be on fd 3, and all below shall be /dev/null. */
if (sock != 3) {
int want;