diff options
Diffstat (limited to 'dbus/dbus-spawn.c')
-rw-r--r-- | dbus/dbus-spawn.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dbus/dbus-spawn.c b/dbus/dbus-spawn.c index 03947cce..b39a75a7 100644 --- a/dbus/dbus-spawn.c +++ b/dbus/dbus-spawn.c @@ -864,7 +864,11 @@ check_babysit_events (pid_t grandchild_pid, pid_t ret; int status; - ret = waitpid (grandchild_pid, &status, WNOHANG); + do + { + ret = waitpid (grandchild_pid, &status, WNOHANG); + } + while (ret < 0 && errno == EINTR); if (ret == 0) { |