aboutsummaryrefslogtreecommitdiffstats
path: root/src/satd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/satd.c')
-rw-r--r--src/satd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/satd.c b/src/satd.c
index fae8e0b..f69af3b 100644
--- a/src/satd.c
+++ b/src/satd.c
@@ -273,8 +273,8 @@ fail:
perror(argv0);
free(path);
if (sock >= 0) {
- close(sock);
unlink(address.sun_path);
+ close(sock);
}
if (state >= 0)
close(state);