* Correct a bug that caused alien to ignore failing commands. Closes: #424858

This commit is contained in:
joey
2007-05-17 17:34:20 +00:00
parent 0f3f0ab92c
commit f81986d554
2 changed files with 5 additions and 3 deletions

View File

@@ -446,7 +446,8 @@ sub do {
}
else {
# parent
return (waitpid($pid, 0) > 0);
my $ret=(waitpid($pid, 0) > 0);
return ! $ret || ! $?;
}
}