acpid/acpid-1.0.6-return.patch

14 lines
269 B
Diff
Raw Normal View History

2007-08-10 06:47:27 +00:00
--- acpid-1.0.6/acpid.c.return 2007-05-25 06:19:23.000000000 +0200
+++ acpid-1.0.6/acpid.c 2007-08-07 10:30:35.000000000 +0200
@@ -387,9 +387,7 @@ daemonize(void)
umask(0);
/* get outta the way */
- chdir("/");
-
- return 0;
+ return chdir("/");
}
static int