13 lines
399 B
Diff
13 lines
399 B
Diff
|
diff -up acpid-2.0.5/acpid.c.forking acpid-2.0.5/acpid.c
|
||
|
--- acpid-2.0.5/acpid.c.forking 2010-03-28 15:54:23.000000000 +0200
|
||
|
+++ acpid-2.0.5/acpid.c 2010-09-10 13:38:06.207131183 +0200
|
||
|
@@ -333,7 +333,7 @@ daemonize(void)
|
||
|
pid_t pid, sid;
|
||
|
|
||
|
/* already a daemon */
|
||
|
- if ( getppid() == 1 ) return 0;
|
||
|
+ //if ( getppid() == 1 ) return 0;
|
||
|
|
||
|
/* fork off the parent process */
|
||
|
pid = fork();
|