fix sudo
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
set -e
|
||||
|
||||
# Ensure the script is run as root
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
if [ $EUID -ne 0 ] then
|
||||
echo "❌ This script must be run as root. Please use sudo."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user