diff --git a/install-dat-release.sh b/install-dat-release.sh index 523a692..292b6a2 100644 --- a/install-dat-release.sh +++ b/install-dat-release.sh @@ -18,6 +18,7 @@ DOWNLOAD_LINK_GEOIP="https://github.com/v2ray/geoip/releases/latest/download/geo DOWNLOAD_LINK_GEOSITE="https://github.com/v2ray/domain-list-community/releases/latest/download/dlc.dat" check_if_running_as_root() { + # If you want to run as another user, please modify $UID to be owned by this user if [ $UID != "0" ]; then echo "error: You must run this script as root!" exit 1 diff --git a/install-release.sh b/install-release.sh index 5a459f8..d4efa4d 100644 --- a/install-release.sh +++ b/install-release.sh @@ -13,6 +13,7 @@ # https://github.com/v2fly/fhs-install-v2ray/issues check_if_running_as_root() { + # If you want to run as another user, please modify $UID to be owned by this user if [ $UID != "0" ]; then echo "error: You must run this script as root!" exit 1