Skip to content

Commit

Permalink
Add extra wait() status check
Browse files Browse the repository at this point in the history
  • Loading branch information
i-ky committed Feb 8, 2023
1 parent 31b23a2 commit 961c607
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/basset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ int main(int argc, char *argv[]) {
}
} else if (WIFCONTINUED(wstatus)) {
cerr << pid << " continued\n";
} else {
cerr << "unexpected wait status: " << wstatus << '\n';
return -1;
}
}

Expand Down

0 comments on commit 961c607

Please sign in to comment.