mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-24 05:41:14 -03:00
Do not audibly complain on EINTR in waitpid call
This commit is contained in:
@@ -478,7 +478,11 @@ static bool process_mark_finished_children(bool block_on_fg) {
|
||||
// waitpid for one pgrp at a time. We do bypass future waits in case of error,
|
||||
// however.
|
||||
has_error = true;
|
||||
wperror(L"waitpid in process_mark_finished_children");
|
||||
|
||||
// Do not audibly complain on interrupt (see #5293)
|
||||
if (errno != EINTR) {
|
||||
wperror(L"waitpid in process_mark_finished_children");
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user