Update downr1n.sh

This commit is contained in:
ささ 2023-12-31 08:24:40 +09:00 committed by GitHub
parent 23e2c5b2ed
commit 0de8c38059
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ if [ "$(uname)" == "Linux" ]; then
exec sudo ./downr1n.sh $@ exec sudo ./downr1n.sh $@
fi fi
else else
if [ "$EUID" -e 0 ]; then if [ "$EUID" = "0" ]; then
echo "Please don't run as root on macOS. It just breaks permissions." echo "Please don't run as root on macOS. It just breaks permissions."
exit 1 exit 1
fi fi