summaryrefslogtreecommitdiff
path: root/lib/daemon.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/daemon.php')
-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() {