Commit 6cb15bfb authored by Nils Goroll's avatar Nils Goroll

emit a warning if sandboxing test failed

parent 70ec0a57
......@@ -274,8 +274,13 @@ mgt_sandbox_init(void)
sb = VSB_new_auto();
subs = VSUB_run(sb, run_sandbox_test, NULL, "SANDBOX-test", 10);
VSB_delete(sb);
if (subs)
if (subs) {
REPORT0(LOG_INFO, "Warning: init of platform-specific sandbox "
"failed - sandboxing disabled");
REPORT0(LOG_INFO, "Warning: Varnish might run with elevated "
"privileges");
mgt_sandbox = mgt_sandbox_null;
}
MCF_AddParams(mgt_parspec_sandbox);
......
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