diff options
author | Ermal <eri@pfsense.org> | 2010-04-27 11:25:24 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-04-27 11:25:24 +0000 |
commit | 0648c9688a4f3324c6e90039b5179eb64bde4653 (patch) | |
tree | 6bb5025962d2d83b12fb909bf043d020768ca88f | |
parent | df5da531465d7ed8eb5400c10c12a2c40e21c670 (diff) | |
download | pfsense-0648c9688a4f3324c6e90039b5179eb64bde4653.zip pfsense-0648c9688a4f3324c6e90039b5179eb64bde4653.tar.gz |
Silence and correct command that tries to kill a previous running ipfw-classifyd command.
-rw-r--r-- | etc/inc/shaper.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index d366180..9a023eb 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -3443,8 +3443,7 @@ class layer7 { } function delete_l7c() { - $l7pid = `"/bin/pgrep -f 'ipfw-classifyd .* -p ". $l7rules->GetRPort() . "'"`; - mwexec("/bin/kill {$l7pid}"); + mwexec("/bin/pkill -f 'ipfw-classifyd .* -p ". $l7rules->GetRPort() . "'", true); unset_l7_object_by_reference($this->GetRName()); cleanup_l7_from_rules($this->GetRName()); } |