[master] 39a29a520 Consolidate system("rm ...")
Nils Goroll
nils.goroll at uplex.de
Fri May 24 11:23:05 UTC 2024
commit 39a29a520eb1a02042072ffbe5e74e4460aa3585
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Fri May 24 13:22:07 2024 +0200
Consolidate system("rm ...")
diff --git a/bin/varnishd/mgt/mgt_main.c b/bin/varnishd/mgt/mgt_main.c
index 5164992e2..192ae202a 100644
--- a/bin/varnishd/mgt/mgt_main.c
+++ b/bin/varnishd/mgt/mgt_main.c
@@ -865,8 +865,7 @@ main(int argc, char * const *argv)
workdir, VAS_errtxt(errno));
VJ_master(JAIL_MASTER_SYSTEM);
- AZ(system("rm -rf vmod_cache"));
- AZ(system("rm -rf vext_cache"));
+ AZ(system("rm -rf vmod_cache vext_cache"));
VJ_master(JAIL_MASTER_LOW);
if (VJ_make_subdir("vmod_cache", "VMOD cache", NULL)) {
More information about the varnish-commit
mailing list