diff --git a/wire_g b/wire_g index 81e1db0..d40b3a8 100755 --- a/wire_g +++ b/wire_g @@ -138,7 +138,8 @@ remove(){ if [ "$SELECTION" = "$ACTIVE" ] then - pkill yad + IFS=$'\n' lines=( $(awk '{print $2}' ${WG_WDIR}Notify_PID.txt) ) # Dies zeigt auf die richtige pid + kill $lines fi } # function end