diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-28 15:14:55 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-28 15:14:55 +0100 |
commit | 4bd848d1ceb686b30c9fddc939d31e435da3a05d (patch) | |
tree | 2a09daa4f03a7b871c01f57213aa18c0c4d5baff /src/satd.c | |
parent | we do not need to be able to pass the file descriptor via well defined fd:s now that we can keep the socket when called daemonise (diff) | |
download | sat-4bd848d1ceb686b30c9fddc939d31e435da3a05d.tar.gz sat-4bd848d1ceb686b30c9fddc939d31e435da3a05d.tar.bz2 sat-4bd848d1ceb686b30c9fddc939d31e435da3a05d.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/satd.c')
-rw-r--r-- | src/satd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -203,7 +203,7 @@ main(int argc, char *argv[]) t (fd == -1); if (fd != want) { t (dup2(fd, want) == -1); - close(fd); + close(fd), fd = -1; } } } |