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 ############################################################################################################