X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Fguestfsd.c;h=eb1e82b4a53b9fc362d9580df6a763b620dbf901;hp=116a6b924f91db1c796c6e8e1f42480a659b85b4;hb=f5096dd546ac43c7288b3ab7aec1562f070f78f6;hpb=29453a58d818df24c238d0a08a68886ebe4029dd diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index 116a6b9..eb1e82b 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -689,7 +689,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]);