diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-05-30 09:30:12 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-05-30 09:30:12 -0300 |
commit | 5125c7462648131dff08a8d88577ce6e3cce797d (patch) | |
tree | 92ffc48c5865ff52c5219b718ec61de193dab467 /etc | |
parent | 33b42689019ec9483c4e83e844ba9f12774e870a (diff) | |
download | pfsense-5125c7462648131dff08a8d88577ce6e3cce797d.zip pfsense-5125c7462648131dff08a8d88577ce6e3cce797d.tar.gz |
Add @ to silent any possible return of posix_kill
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/sshd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -180,7 +180,7 @@ $sshd_pid = exec("ps ax | egrep '/usr/sbin/[s]shd' | awk '{print $1}'"); if($sshd_pid <> "") { echo "stopping ssh process $sshd_pid \n"; - posix_kill($sshd_pid, SIGTERM); + @posix_kill($sshd_pid, SIGTERM); } /* Launch new server process */ $status = mwexec("/usr/sbin/sshd"); |