summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/vmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vmon.c b/src/vmon.c
index 7225385..8e11dca 100644
--- a/src/vmon.c
+++ b/src/vmon.c
@@ -1047,7 +1047,7 @@ int main(int argc, const char * const *argv)
}
}
- if (reaped < 0) {
+ if (reaped < 0 && errno != ECHILD) {
VWM_ERROR("failed to waitpid on SIGCHLD: %s", strerror(errno));
vmon->done = 1;
}
© All Rights Reserved