summaryrefslogtreecommitdiffstats
path: root/daemon/guestfsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/guestfsd.c')
-rw-r--r--daemon/guestfsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c
index bb600905..5938846e 100644
--- a/daemon/guestfsd.c
+++ b/daemon/guestfsd.c
@@ -703,7 +703,7 @@ commandrvf (char **stdoutput, char **stderror, int flags,
close (stdin_fd[1]);
} else {
/* Set stdin to /dev/null (ignore failure) */
- open ("/dev/null", O_RDONLY);
+ ignore_value (open ("/dev/null", O_RDONLY));
}
close (so_fd[0]);
close (se_fd[0]);