summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2009-03-10 16:26:30 +0100
committerSeth Mos <seth.mos@xs4all.nl>2009-03-10 16:26:46 +0100
commit1142c9a949913b3d35d9ee153f17dc38dd71f651 (patch)
tree1937b9efcd0a3f5db3aadeae42ae870a860b827d /etc
parentaf25d41585d9cab39b045cff7038aabb1e3cc5f6 (diff)
downloadpfsense-1142c9a949913b3d35d9ee153f17dc38dd71f651.zip
pfsense-1142c9a949913b3d35d9ee153f17dc38dd71f651.tar.gz
Unbreak the tree
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/config.inc3
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 */
OpenPOWER on IntegriCloud