diff --git a/install.sh b/install.sh index e4441c0..53c129b 100644 --- a/install.sh +++ b/install.sh @@ -26,7 +26,8 @@ API_URL="https://itschool.pbcv.dev/api/report.php" # ============================ # Scriptul trebuie rulat ca root (cron, /opt, system info) -if [[ $EUID -ne 0 ]]; then +# $EUID global variable +if [[ $EUID != 0 ]]; then echo "Run as root (sudo)" exit 1 fi