From: Evan Prodromou Date: Thu, 4 Sep 2008 19:15:17 +0000 (-0400) Subject: add newline at the end of pidfile X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dfae116c47cc6c3bf6184b4c7ea01660d350eb5a;p=quix0rs-gnu-social.git add newline at the end of pidfile darcs-hash:20080904191517-84dde-7bc5b62f26d10c7e865b483df90356a5eaea0205.gz --- diff --git a/lib/daemon.php b/lib/daemon.php index a7a49ce94b..cf33d9b90d 100644 --- a/lib/daemon.php +++ b/lib/daemon.php @@ -63,7 +63,7 @@ class Daemon { return false; } - file_put_contents($pidfilename, posix_getpid()); + file_put_contents($pidfilename, posix_getpid() . "\n"); } function clearPidFile() {