aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.c b/main.c
index 34f6df2..8884b3e 100644
--- a/main.c
+++ b/main.c
@@ -177,9 +177,8 @@ end:
if (ns_fd > 0)
close(ns_fd);
- if (temp_name[0] != 0) {
+ if (temp_name[0] != 0)
unlink(temp_name);
- }
return rc;
}