]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add newline at the end of pidfile
authorEvan Prodromou <evan@prodromou.name>
Thu, 4 Sep 2008 19:15:17 +0000 (15:15 -0400)
committerEvan Prodromou <evan@prodromou.name>
Thu, 4 Sep 2008 19:15:17 +0000 (15:15 -0400)
darcs-hash:20080904191517-84dde-7bc5b62f26d10c7e865b483df90356a5eaea0205.gz

lib/daemon.php

index a7a49ce94bf769db86ad84bd2fb131886a0a7088..cf33d9b90d0f3ad77192eb15c26779dc2c8fdcd3 100644 (file)
@@ -63,7 +63,7 @@ class Daemon {
                        return false;
                }
                
-               file_put_contents($pidfilename, posix_getpid());
+               file_put_contents($pidfilename, posix_getpid() . "\n");
        }
 
        function clearPidFile() {