From 0de8c380596feb2afabcaae959a6adc53f57bacc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=95=E3=81=95?= <91324887+sasa8810@users.noreply.github.com> Date: Sun, 31 Dec 2023 08:24:40 +0900 Subject: [PATCH] Update downr1n.sh --- downr1n.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/downr1n.sh b/downr1n.sh index 4e07bea..a436469 100755 --- a/downr1n.sh +++ b/downr1n.sh @@ -7,7 +7,7 @@ if [ "$(uname)" == "Linux" ]; then exec sudo ./downr1n.sh $@ fi else - if [ "$EUID" -e 0 ]; then + if [ "$EUID" = "0" ]; then echo "Please don't run as root on macOS. It just breaks permissions." exit 1 fi