diff options
Diffstat (limited to 'src/connections/ppp')
-rw-r--r-- | src/connections/ppp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/connections/ppp b/src/connections/ppp index a82677b..da0fd6f 100644 --- a/src/connections/ppp +++ b/src/connections/ppp @@ -21,9 +21,8 @@ ppp_down() { if [[ -e $PIDFILE ]]; then PID=$(head -1 $PIDFILE) - [[ -n "$PID" ]] && kill "$(head -1 $PIDFILE)" + [[ -n "$PID" ]] && kill "$PID" fi - kill "$(head -1 $PIDFILE)" } ppp_$1 "$2" |