diff options
author | Seth Mos <seth.mos@dds.nl> | 2011-05-11 12:20:45 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@dds.nl> | 2011-05-11 12:20:45 +0000 |
commit | 4edbcf6d38acd4f3590d251da8c3b57466947c39 (patch) | |
tree | ae67276a7420b710b392ba950a1d2a6587e516bf /etc/inc | |
parent | 9eafb7e2bb0049bbcd97bcf665af556f250d5470 (diff) | |
download | pfsense-4edbcf6d38acd4f3590d251da8c3b57466947c39.zip pfsense-4edbcf6d38acd4f3590d251da8c3b57466947c39.tar.gz |
fix accidental linebreak to cause the pid to always return 0
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/interfaces.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 9ae3787..b3fd6db 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -2544,8 +2544,7 @@ function find_dhclient_process($interface) { function find_dhcp6c_process($interface) { if ($interface) - $pid = `/bin/ps auxw|grep "dhcp6c" |grep -"{$interface}"|awk '{print $2}'`; + $pid = `/bin/ps auxw|grep "dhcp6c" |grep "{$interface}"|awk '{print $2}'`; else $pid = 0; |