diff options
Diffstat (limited to 'background.c')
-rw-r--r-- | background.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/background.c b/background.c index 044f65b4..3d8af3c0 100644 --- a/background.c +++ b/background.c @@ -106,7 +106,7 @@ int mutt_background_process_waitpid (void) if (!ProcessList) return 0; - while ((pid = waitpid (WAIT_ANY, NULL, WNOHANG)) > 0) + while ((pid = waitpid (-1, NULL, WNOHANG)) > 0) { process = ProcessList; while (process) |