josephworks / ultimatelinux.sh

The ultimate Linux script.
MIT License
2 stars 0 forks source link

Add this code to commands that require administrator #2

Closed josephworks closed 5 years ago

josephworks commented 6 years ago

if [[ "$EUID" -ne 0 ]]; then echo "Sorry, you need to run this as root" exit fi

josephworks commented 5 years ago

Done