diff --git a/wire_g b/wire_g index c7535db..113a994 100755 --- a/wire_g +++ b/wire_g @@ -113,7 +113,7 @@ import_wg(){ import_wg ;; esac else - kill -0 $PID &> /dev/null + kill -0 "$PID" &> /dev/null wire_g fi @@ -213,7 +213,7 @@ more(){ At all tunnels, the auto start is disabled. \n Version: $version \n Use without warranty. \n -Download Wire-G \n" & PID=$!) +Download Wire-G \n" <&3 & PID=$!) } export -f more