Skip to content

Commit

Permalink
Clear up what happens to still running processes
Browse files Browse the repository at this point in the history
  • Loading branch information
nurupo committed Mar 18, 2022
1 parent 478d707 commit c084d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vpn
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ down() {
set -e
if [[ "$PIDS_RET" -eq "0" ]] && [[ -n "$PIDS" ]]
then
echo "The following processes are still running:"
echo "The following processes are still running in \"$NS_NAME\" network namespace and will lose the vpn connection:"
while IFS= read -r PID
do
echo "$PID $(ps -o command= -p "$PID")"
Expand Down

0 comments on commit c084d32

Please sign in to comment.