aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds.c
diff options
context:
space:
mode:
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. */