diff --git a/README.md b/README.md index 171c04f..4aa8a20 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,8 @@ Supported distributions: Download and execute the script. Answer the questions asked by the script and it will take care of the rest. ```bash -curl -O https://raw.githubusercontent.com/angristan/wireguard-install/master/wireguard-install.sh -chmod +x wireguard-install.sh +curl -O https://raw.githubusercontent.com/Anatr0p/wireguard-install/master/wg.sh +chmod +x wg.sh ./wireguard-install.sh ``` diff --git a/wireguard-install.sh b/wireguard-install.sh index f30d896..44a8e93 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -9,7 +9,7 @@ NC='\033[0m' function isRoot() { if [ "${EUID}" -ne 0 ]; then - echo "You need to run this script as root. Use sudo bash wg.sh or just sudo ./wg.sh" + echo "You need to run this script as root" exit 1 fi }