From: Richard W.M. Jones Date: Thu, 3 Feb 2011 19:33:30 +0000 (+0000) Subject: daemon: Ignore return value from chdir. X-Git-Tag: 1.9.8~1 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=8d7d7c4ecfd202e04d18736718e9c5bb125ce4f0;p=libguestfs.git daemon: Ignore return value from chdir. This updates commit 7eb012f3710bb554d5fc2c4229036901b0b5ad90. --- diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index b3154a6..1af0f7a 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -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");