diff -Naur acpid-1.0.6/acpid.c acpid-1.0.6.tpg/acpid.c --- acpid-1.0.6/acpid.c 2007-05-25 04:19:23.000000000 +0000 +++ acpid-1.0.6.tpg/acpid.c 2007-07-10 23:50:20.000000000 +0000 @@ -387,9 +387,7 @@ umask(0); /* get outta the way */ - chdir("/"); - - return 0; + return chdir("/");; } static int