[master] 96d556a Removing files at exit is best effort
Poul-Henning Kamp
phk at FreeBSD.org
Thu Apr 16 12:20:49 CEST 2015
commit 96d556a9e8d818e8fc99b6a33d7b9ed491520a75
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu Apr 16 10:20:35 2015 +0000
Removing files at exit is best effort
diff --git a/bin/varnishd/mgt/mgt_main.c b/bin/varnishd/mgt/mgt_main.c
index 25906f5..88b7e75 100644
--- a/bin/varnishd/mgt/mgt_main.c
+++ b/bin/varnishd/mgt/mgt_main.c
@@ -311,7 +311,7 @@ mgt_secret_atexit(void)
if (getpid() != mgt_pid)
return;
VJ_master(JAIL_MASTER_FILE);
- AZ(unlink("_.secret"));
+ (void)unlink("_.secret");
VJ_master(JAIL_MASTER_LOW);
}
More information about the varnish-commit
mailing list