aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-11 05:47:10 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-11 05:47:10 +0200
commit4f8ac368dbead32aaa30684c29df3afa0a8ba17f (patch)
tree60a1007dba7a0f2456c44f7152e68b274f4bb3f2 /src/mds.c
parentm (diff)
downloadmds-4f8ac368dbead32aaa30684c29df3afa0a8ba17f.tar.gz
mds-4f8ac368dbead32aaa30684c29df3afa0a8ba17f.tar.bz2
mds-4f8ac368dbead32aaa30684c29df3afa0a8ba17f.tar.xz
add fork_for_safety option + beginning of kernel-based keyboard
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds.c b/src/mds.c
index 5a204f6..cb8e657 100644
--- a/src/mds.c
+++ b/src/mds.c
@@ -336,7 +336,7 @@ int spawn_and_respawn_server(int fd)
perror(*argv);
/* Wait for master server to die. */
- if (waitpid(pid, &status, 0) == (pid_t)-1)
+ if (uninterruptable_waitpid(pid, &status, 0) == (pid_t)-1)
goto pfail;
/* If the server exited normally or SIGTERM, do not respawn. */