From 6faae6d0ca91686429060153be1c33f77a89a829 Mon Sep 17 00:00:00 2001 From: Pipiasi Bogdan Date: Tue, 16 Dec 2025 17:21:45 +0100 Subject: [PATCH] up --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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