From: Evan Prodromou Date: Thu, 4 Sep 2008 19:02:54 +0000 (-0400) Subject: add .pid to pidfile names X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=65efe17c4e4b960ada6a46e28557aec18b9364c0;p=quix0rs-gnu-social.git add .pid to pidfile names darcs-hash:20080904190254-84dde-57d24d7a82e4c7eabef87d60ebb69292832e31ac.gz --- diff --git a/lib/daemon.php b/lib/daemon.php index 09144afe73..0bda0272f4 100644 --- a/lib/daemon.php +++ b/lib/daemon.php @@ -80,7 +80,7 @@ class Daemon { if (!$name) { return NULL; } - return $piddir . '/' . $name; + return $piddir . '/' . $name . '.pid'; } function changeUser() {