mirror of
https://github.com/boltgolt/howdy.git
synced 2024-09-19 09:51:19 +02:00
fix: fix condition for howdy_error
This commit is contained in:
parent
d77dd94ec0
commit
67fc6f4709
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ using namespace boost::locale;
|
|||
*/
|
||||
int howdy_error(int status, function<int(int, const char *)> conv_function) {
|
||||
// If the process has exited
|
||||
if (!WIFEXITED(status)) {
|
||||
if (WIFEXITED(status)) {
|
||||
// Get the status code returned
|
||||
status = WEXITSTATUS(status);
|
||||
|
||||
|
|
Loading…
Reference in a new issue