Update downr1n.sh
This commit is contained in:
parent
56931c9364
commit
23e2c5b2ed
1 changed files with 4 additions and 2 deletions
|
|
@ -7,8 +7,10 @@ if [ "$(uname)" == "Linux" ]; then
|
|||
exec sudo ./downr1n.sh $@
|
||||
fi
|
||||
else
|
||||
if [ "$EUID" -e 0 ]; then
|
||||
echo "Please don't run as root on macOS. It just breaks permissions."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
mkdir -p logs
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue