aboutsummaryrefslogtreecommitdiffstats
path: root/src/satd-diminished.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/satd-diminished.c')
-rw-r--r--src/satd-diminished.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/satd-diminished.c b/src/satd-diminished.c
index 632e29b..48ada56 100644
--- a/src/satd-diminished.c
+++ b/src/satd-diminished.c
@@ -76,9 +76,10 @@ main(int argc, char *argv[])
shutdown(fd, SHUT_RDWR);
close(fd);
- close(SOCK_FILENO);
unlink(argv[1]);
unlink(argv[2]); /* Only on success! */
+ close(SOCK_FILENO);
+ close(STATE_FILENO);
return 0;
(void) argc;
}