diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-11-06 15:20:15 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-11-06 15:20:15 +0000 |
commit | 48e7db914836bddac9b2cbb190ef6519973381f8 (patch) | |
tree | 138ba1dd6be53337abe20cc25b17ae9bab4ade15 | |
parent | ce97a47b60e47ed41e4a6bec424c9a0cb5e6cb8f (diff) | |
download | pfsense-48e7db914836bddac9b2cbb190ef6519973381f8.zip pfsense-48e7db914836bddac9b2cbb190ef6519973381f8.tar.gz |
surpress kill output
-rw-r--r-- | etc/inc/util.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index 8d25bbe..2db3f71 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -54,9 +54,8 @@ function sigkillbypid($pidfile, $sig) { if (is_file($pidfile)) { $pid = trim(file_get_contents($pidfile)); if(isvalidpid($pid)) - return mwexec("/bin/kill -s $sig {$pid}"); + return mwexec("/bin/kill -s $sig {$pid}", true); } - return 0; } |