summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-09-04 15:15:17 -0400
committerEvan Prodromou <evan@prodromou.name>2008-09-04 15:15:17 -0400
commitdfae116c47cc6c3bf6184b4c7ea01660d350eb5a (patch)
tree6dfe1386ef895252f734e4a6bc3417051ba1c3cb /lib
parent32a189220c1e7422dff591c8c8d5e8db04fcca83 (diff)
add newline at the end of pidfile
darcs-hash:20080904191517-84dde-7bc5b62f26d10c7e865b483df90356a5eaea0205.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/daemon.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/daemon.php b/lib/daemon.php
index a7a49ce94..cf33d9b90 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() {