diff options
author | Ermal <eri@pfsense.org> | 2011-03-01 23:40:32 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-03-01 23:40:32 +0000 |
commit | 05c4bfa003a5013af31dcd3a59a20a682c93fb8f (patch) | |
tree | 745ed0484e3d45d2ce4a4172fde22dcb1343d67f /etc/inc/interfaces.inc | |
parent | c84876040a6669f5cb01c3772e861ba2084110f5 (diff) | |
download | pfsense-05c4bfa003a5013af31dcd3a59a20a682c93fb8f.zip pfsense-05c4bfa003a5013af31dcd3a59a20a682c93fb8f.tar.gz |
Pass the -a parameters to pgrep to be certain we search ancestors as well. The side effects might be inoquos from the pfSense context.
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 27dc9d6..2533201 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -2469,7 +2469,7 @@ function kill_wpasupplicant($interface) { function find_dhclient_process($interface) { if ($interface) - $pid = `/bin/pgrep -xf "dhclient: {$interface}"`; + $pid = `/bin/pgrep -axf "dhclient: {$interface}"`; else $pid = 0; |