aboutsummaryrefslogtreecommitdiff
path: root/src/fstabinfo/fstabinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fstabinfo/fstabinfo.c')
-rw-r--r--src/fstabinfo/fstabinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fstabinfo/fstabinfo.c b/src/fstabinfo/fstabinfo.c
index 09cf5977..43ee822c 100644
--- a/src/fstabinfo/fstabinfo.c
+++ b/src/fstabinfo/fstabinfo.c
@@ -143,7 +143,7 @@ do_mount(struct ENT *ent, bool remount)
err = posix_spawnp(&pid, argv[0], NULL, NULL, argv, environ);
if (err)
eerrorx("%s: posix_spawnp: %s", applet, strerror(err));
- waitpid(pid, &status, 0);
+ while (waitpid(pid, &status, 0) < 0 && errno == EINTR);
if (WIFEXITED(status))
return WEXITSTATUS(status);
else