blob: 1521a6a99f8a3875d5d36edd58e64630da3385ec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- src/kit/kit-spawn.c.orig 2009-03-29 20:11:24.000000000 -0400
+++ src/kit/kit-spawn.c 2009-03-29 20:11:43.000000000 -0400
@@ -396,7 +396,10 @@ kit_spawn_sync (const char *working_
}
}
+again:
if (waitpid (pid, out_exit_status, 0) == -1) {
+ if (errno == EINTR)
+ goto again;
goto out;
}
pid = -1;
|