14 lines
269 B
Diff
14 lines
269 B
Diff
|
--- 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
|