diff --git a/wire_g b/wire_g
index dd82964..68e7e84 100755
--- a/wire_g
+++ b/wire_g
@@ -113,7 +113,6 @@ import_wg(){
import_wg ;;
esac
else
- kill -0 "$PID" &> /dev/null
wire_g
fi
@@ -202,7 +201,7 @@ more(){
version=3.1.0
selection=$(yad --height=100 --width=80 \
--title="Wire-G" --center \
- --fixed --borders=8 \
+ --fixed --borders=8 --close-on-unfocus \
--buttons-layout=center --text-align=center \
--button=$"Import":"bash -c import_wg" \
--button=$"Wire-G Stop":"bash -c up_or_down" \
@@ -213,7 +212,7 @@ more(){
At all tunnels, the auto start is disabled. \n
Version: $version \n
Use without warranty. \n
-Download Wire-G \n") <&3 & PID=$!
+Download Wire-G \n")
}
export -f more