diff options
Diffstat (limited to 'idle.c')
-rw-r--r-- | idle.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -357,7 +357,7 @@ again: fprintf(stderr, "%s: attempting idle check on %s (len %u)\n", scfg->name, idle->remotestr, idle->remote.addrlen); - sfd = socket(idle->remote.storage.ss_family, SOCK_STREAM, 0); + sfd = socket(idle->remote.storage.ss_family, SOCK_STREAM | SOCK_CLOEXEC, 0); if (sfd < 0) { perror("socket"); goto again; |