diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2009-03-10 16:26:30 +0100 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2009-03-10 16:26:46 +0100 |
commit | 1142c9a949913b3d35d9ee153f17dc38dd71f651 (patch) | |
tree | 1937b9efcd0a3f5db3aadeae42ae870a860b827d /etc/inc | |
parent | af25d41585d9cab39b045cff7038aabb1e3cc5f6 (diff) | |
download | pfsense-1142c9a949913b3d35d9ee153f17dc38dd71f651.zip pfsense-1142c9a949913b3d35d9ee153f17dc38dd71f651.tar.gz |
Unbreak the tree
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/config.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index 24b5115..00a2e7b 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -2836,8 +2836,9 @@ function system_start_ftp_helpers() { $helpers = array(); exec("/bin/ps awwux | /usr/bin/grep \"[/]ftp-proxy\" | /usr/bin/grep \"{$port}\" | /usr/bin/awk '{ print $2 }'", $helpers); - if(count($helpers > 0) + if(count($helpers > 0)) { mwexec("/bin/kill {$helpers[0]}"); + } $interface_counter++; } else { /* grab the current interface IP address */ |