summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {