We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cddd928 commit 50d26e3Copy full SHA for 50d26e3
run/o2sim_parallel.cxx
@@ -762,9 +762,8 @@ int main(int argc, char* argv[])
762
// Handle mergerpid status separately
763
if (cpid == mergerpid) {
764
if (WIFEXITED(status)) {
765
- // anything other than 128 is indicative of error
766
- if (WEXITSTATUS(status) != 128) {
767
- LOG(error) << "Merger process exited with abnormal code " << WEXITSTATUS(status);
+ if (WEXITSTATUS(status) != 0 || WEXITSTATUS(status) != 128) {
+ LOG(error) << "Merger process exited with abnormal exit status " << WEXITSTATUS(status);
768
errored = true;
769
}
770
} else if (WIFSIGNALED(status)) {
0 commit comments