yad notify pid wird gespeichert

This commit is contained in:
Désiré Werner Menrath 2023-11-15 20:39:59 +01:00
parent 8fb339d016
commit b5893ed7a8

View File

@ -41,8 +41,8 @@ export TEXTDOMAINDIR="/usr/share/locale"
--text=$"<span color='#0fad0a'><b>"$VALUE" Connection disconnected</b></span>" --text=$"<span color='#0fad0a'><b>"$VALUE" Connection disconnected</b></span>"
fi fi
done done
IFS=$'\n' lines=( $(cat ${WG_WDIR}Notify_PID.txt) ) IFS=$'\n' lines=( $(awk '{print $2}' ${WG_WDIR}Notify_PID.txt) ) # Dies zeigt auf die richtige pid
kill $lines #> /dev/null 2>&1 kill -n "$lines" #> /dev/null 2>&1
################################# END ################################################################## ################################# END ##################################################################
############################################################################################################ ############################################################################################################