up #8

Merged
Daemon merged 1 commits from dev into main 2025-12-16 16:22:24 +00:00
Showing only changes of commit 6faae6d0ca - Show all commits

View File

@@ -26,7 +26,8 @@ API_URL="https://itschool.pbcv.dev/api/report.php"
# ============================ # ============================
# Scriptul trebuie rulat ca root (cron, /opt, system info) # 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)" echo "Run as root (sudo)"
exit 1 exit 1
fi fi