diff --git a/wire_g b/wire_g
index 80afaa4..c7535db 100755
--- a/wire_g
+++ b/wire_g
@@ -105,14 +105,15 @@ import_wg(){
fi ;;
*) yad --text-align=center --button=$"OK" --title=$"Wireguard .conf Select file" \
- --image-on-top --window-icon=${wg_pic}wg-stop.png --image=${wg_pic}wg-info.png \
- --fixed --center --buttons-layout=center --borders=8 \
- --text $"Oh, something went wrong. \n
+ --image-on-top --window-icon=${wg_pic}wg-stop.png --image=${wg_pic}wg-info.png \
+ --fixed --center --buttons-layout=center --borders=8 \
+ --text $"Oh, something went wrong. \n
No valid Wireguard file. \n
Here is an example: my_wireguard.conf \n"
import_wg ;;
esac
else
+ kill -0 $PID &> /dev/null
wire_g
fi
@@ -212,7 +213,7 @@ more(){
At all tunnels, the auto start is disabled. \n
Version: $version \n
Use without warranty. \n
-Download Wire-G \n")
+Download Wire-G \n" & PID=$!)
}
export -f more