diff --git a/t/20_misc/004_fork.t b/t/20_misc/004_fork.t index 99cc26a..ed1ffe4 100644 --- a/t/20_misc/004_fork.t +++ b/t/20_misc/004_fork.t @@ -67,7 +67,7 @@ ok(!$@) or diag "Creation eval failed: $@"; } if (!$pid) { - exit $cd->engine->connected ? 1 : 0; + exit($cd->engine->connected ? 1 : 0); } if (waitpid($pid, 0) == $pid) {