From a55be4d997a6ac4021d52cc7c8ec544684da5569 Mon Sep 17 00:00:00 2001 From: Mazet Laurent Date: Thu, 12 Jun 2025 15:48:19 +0200 Subject: [PATCH] kill all proccesses --- test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test.sh b/test.sh index a77c5fc..53e5f91 100755 --- a/test.sh +++ b/test.sh @@ -80,6 +80,8 @@ pids="$pids $!" sleep 4 for p in $pids; do + echo killing $p + pkill -TERM -P $p 2>/dev/null kill -TERM $p 2>/dev/null done ip addr del dev eth0 10.1.0.1/24 && ip link del eth0 type dummy || echo no need to remove eth0 -- 2.30.2