mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 19:53:36 +08:00
Do not audibly complain on EINTR in waitpid call
This commit is contained in:
parent
132edda6ff
commit
3b210cc5bd
|
@ -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,
|
// waitpid for one pgrp at a time. We do bypass future waits in case of error,
|
||||||
// however.
|
// however.
|
||||||
has_error = true;
|
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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user