Skip to content

Commit ff77de5

Browse files
committed
Report only non-zero exit codes
1 parent eb0871e commit ff77de5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/nightly.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ function (): iterable {
6464
unset($parentPids[$res]);
6565
if (pcntl_wifexited($status)) {
6666
$status = pcntl_wexitstatus($status);
67-
printMutex("Child task $desc exited with status $status");
6867
if ($status !== 0) {
68+
printMutex("Child task $desc exited with status $status");
6969
$finalStatus = $status;
7070
}
7171
} elseif (pcntl_wifstopped($status)) {

0 commit comments

Comments
 (0)