diff options
author | Bill Nottingham <notting@redhat.com> | 1999-03-16 00:16:43 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-03-16 00:16:43 +0000 |
commit | 889b8a4e8ea25c9530198ef1015c902acfed02dd (patch) | |
tree | ed5f2929a73bccc6d0fcc79f79d3c2ed0c5a3585 /sysconfig/network-scripts | |
parent | 5ddc710826205c6dfef5eef0e1f6ce4cea54e6ce (diff) | |
download | initscripts-889b8a4e8ea25c9530198ef1015c902acfed02dd.tar initscripts-889b8a4e8ea25c9530198ef1015c902acfed02dd.tar.gz initscripts-889b8a4e8ea25c9530198ef1015c902acfed02dd.tar.bz2 initscripts-889b8a4e8ea25c9530198ef1015c902acfed02dd.tar.xz initscripts-889b8a4e8ea25c9530198ef1015c902acfed02dd.zip |
fix for CHATPID (bug #1343)
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-x | sysconfig/network-scripts/ifdown-ppp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown-ppp b/sysconfig/network-scripts/ifdown-ppp index 7fa0cf5f..97cd04bc 100755 --- a/sysconfig/network-scripts/ifdown-ppp +++ b/sysconfig/network-scripts/ifdown-ppp @@ -30,7 +30,7 @@ fi # pppd might have chat as a child; remember chat's pid to kill after pppd. # (After, not before, so that pppd doesn't just restart it). -CHATPID=`ps axl | awk '$4 ~ $PID {print $3}' 2>/dev/null` +CHATPID=`ps axl | awk '$4 ~ /^'"$PID"'$/ {print $3}' 2>/dev/null` kill $PID > /dev/null 2>&1 [ -n "$CHATPID" ] && kill $CHATPID > /dev/null 2>&1 |