summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-19 06:16:05 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-19 06:16:05 +0000
commit2e66284930c49a2f4e99590d71b8599212eafdfc (patch)
treeec451251d9b06dde96d5b13219834b58cc8f0986 /etc/inc
parent154349f9bda26e7f3643a6417c39423d81265726 (diff)
downloadpfsense-2e66284930c49a2f4e99590d71b8599212eafdfc.zip
pfsense-2e66284930c49a2f4e99590d71b8599212eafdfc.tar.gz
simplify ps check
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index dba2d30..9fdcaf1 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -633,7 +633,7 @@ function filter_nat_rules_generate() {
*/
if($target <> "") {
if($extport[0] == "21" and !isset($config['system']['disableftpproxy'])) {
- $helpers = exec("ps awux | grep pftpx | grep -v grep | grep \"-f {$target}\" ");
+ $helpers = exec("/bin/ps awux | grep {$target} | grep -v grep");
if(!$helpers) {
$external_address = $rule['external-address'];
if($external_address == "")
OpenPOWER on IntegriCloud