use the right jail level for a system() call

Ref 31164908

Fixes #3243
parent 0bf8e9c7
......@@ -787,7 +787,7 @@ main(int argc, char * const *argv)
ARGV_ERR("Cannot create working directory (%s): %s\n",
workdir, vstrerror(errno));
VJ_master(JAIL_MASTER_FILE);
VJ_master(JAIL_MASTER_SYSTEM);
AZ(system("rm -rf vmod_cache"));
VJ_master(JAIL_MASTER_LOW);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment