aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libshare/nfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libshare/nfs.c')
-rw-r--r--lib/libshare/nfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libshare/nfs.c b/lib/libshare/nfs.c
index 9d548dccc..a542eff1b 100644
--- a/lib/libshare/nfs.c
+++ b/lib/libshare/nfs.c
@@ -688,7 +688,8 @@ nfs_check_exportfs(void)
}
if (pid > 0) {
- while ((rc = waitpid(pid, &status, 0)) <= 0 && errno == EINTR);
+ while ((rc = waitpid(pid, &status, 0)) <= 0 &&
+ errno == EINTR) { }
if (rc <= 0) {
(void) close(nfs_exportfs_temp_fd);