diff --git a/IkiWiki/Setup.pm b/IkiWiki/Setup.pm index 5b77a6471..7af744f6a 100644 --- a/IkiWiki/Setup.pm +++ b/IkiWiki/Setup.pm @@ -75,7 +75,8 @@ sub dump ($) { } else { waitpid $pid, 0; - exit $? if $?; + exit($? >> 8) if $? >> 8; + exit(1) if $?; } }