summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Setup.pm3
1 files changed, 2 insertions, 1 deletions
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 $?;
}
}