daemon: Ignore return value from chdir.
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 3 Feb 2011 19:33:30 +0000 (19:33 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 3 Feb 2011 19:33:30 +0000 (19:33 +0000)
This updates commit 7eb012f3710bb554d5fc2c4229036901b0b5ad90.

daemon/guestfsd.c

index b3154a6..1af0f7a 100644 (file)
@@ -130,7 +130,7 @@ main (int argc, char *argv[])
   int c;
   char *cmdline;
 
-  chdir ("/");
+  ignore_value (chdir ("/"));
 
   if (winsock_init () == -1)
     error (EXIT_FAILURE, 0, "winsock initialization failed");