X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fpidfile.php;h=7157a6e591a2eeb6f830798c7347f002b79f2be2;hb=0cd9db9cb7f4c96f597e37590a536eaae123238d;hp=dda6b3e9c130827c3469e5ef650bd15177bdb7bf;hpb=fd5d058156185c6c02c1285a794139d07f4d13ce;p=friendica.git diff --git a/include/pidfile.php b/include/pidfile.php index dda6b3e9c1..7157a6e591 100644 --- a/include/pidfile.php +++ b/include/pidfile.php @@ -8,7 +8,7 @@ class pidfile { if (file_exists($this->_file)) { $pid = trim(@file_get_contents($this->_file)); - if (($pid != "") AND posix_kill($pid, 0)) { + if (($pid != "") && posix_kill($pid, 0)) { $this->_running = true; } }