firewall3: fix locking issue
[project/firewall3.git] / utils.c
diff --git a/utils.c b/utils.c
index 17d5bf97d18f43a54cb721604ee60f9bb34590ff..92e966c20f6ac23806edde02c63d61f32f7af537 100644 (file)
--- a/utils.c
+++ b/utils.c
@@ -397,7 +397,6 @@ fw3_unlock_path(int *fd, const char *lockpath)
                warn("Cannot release exclusive lock: %s", strerror(errno));
 
        close(*fd);
-       unlink(FW3_LOCKFILE);
 
        *fd = -1;
 }