From 8fb339d016f68e5e057a777c4b717232f2c77b68 Mon Sep 17 00:00:00 2001 From: punix Date: Wed, 15 Nov 2023 20:22:37 +0100 Subject: [PATCH] kill test 3 --- wg_stop | 2 +- wire_g | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wg_stop b/wg_stop index 35f484f..e9c4c8b 100755 --- a/wg_stop +++ b/wg_stop @@ -42,7 +42,7 @@ export TEXTDOMAINDIR="/usr/share/locale" fi done IFS=$'\n' lines=( $(cat ${WG_WDIR}Notify_PID.txt) ) - kill $lines > /dev/null 2>&1 + kill $lines #> /dev/null 2>&1 ################################# END ################################################################## ############################################################################################################ diff --git a/wire_g b/wire_g index eb01677..ca29eb2 100755 --- a/wire_g +++ b/wire_g @@ -65,7 +65,7 @@ wg_notify(){ pid=$(ps aux | grep yad | grep -v grep | awk '{print $2}') echo $pid > ${WG_WDIR}Notify_PID.txt } -export -f wg_notify + # function end ############################################################################################################