summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-03-01 23:40:32 +0000
committerErmal <eri@pfsense.org>2011-03-01 23:40:32 +0000
commit05c4bfa003a5013af31dcd3a59a20a682c93fb8f (patch)
tree745ed0484e3d45d2ce4a4172fde22dcb1343d67f /etc/inc/interfaces.inc
parentc84876040a6669f5cb01c3772e861ba2084110f5 (diff)
downloadpfsense-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.inc2
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;
OpenPOWER on IntegriCloud