Commit 60129dae authored by Tollef Fog Heen's avatar Tollef Fog Heen

Merge r3898: Fix compilation problem on Darwin



git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3989 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 8ba9dd14
......@@ -238,16 +238,17 @@ cmd_test(CMD_ARGS)
static void
cmd_shell(CMD_ARGS)
{
(void)priv;
(void)cmd;
int r;
if (av == NULL)
return;
AN(av[1]);
AZ(av[2]);
vtc_dump(vl, 4, "shell", av[1]);
assert(WEXITSTATUS(system(av[1])) == 0);
r = system(av[1]);
assert(WEXITSTATUS(r) == 0);
}
/**********************************************************************
......
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