diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-08-11 05:47:10 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-08-11 05:47:10 +0200 |
commit | 4f8ac368dbead32aaa30684c29df3afa0a8ba17f (patch) | |
tree | 60a1007dba7a0f2456c44f7152e68b274f4bb3f2 /src/mds.c | |
parent | m (diff) | |
download | mds-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. */ |