Commit 05523245 authored by Franco Fichtner's avatar Franco Fichtner

inc: mute pgrep output as we are relying on it to fail

parent e40c87ca
...@@ -50,7 +50,7 @@ function isvalidpid($pidfile) ...@@ -50,7 +50,7 @@ function isvalidpid($pidfile)
return false; return false;
} }
return mwexecf('/bin/pgrep -nF %s', $pidfile) == 0; return mwexecf('/bin/pgrep -nF %s', $pidfile, true) == 0;
} }
function is_process_running($process) function is_process_running($process)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment