From fd1aff4a5f20402d9054b12f3800303eca7a3c83 Mon Sep 17 00:00:00 2001 From: "Michael K. Johnson" Date: Tue, 7 Jul 1998 15:42:50 +0000 Subject: fix long-standing bug and work with (currently vaporware) newer ps versions --- sysconfig/network-scripts/ifdown-ppp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysconfig/network-scripts') diff --git a/sysconfig/network-scripts/ifdown-ppp b/sysconfig/network-scripts/ifdown-ppp index 5faf753e..7fa0cf5f 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 aul | 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 -- cgit v1.2.1