diff --git a/src/basset.cpp b/src/basset.cpp index 632787e..d30608c 100644 --- a/src/basset.cpp +++ b/src/basset.cpp @@ -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; } }