From 04fc0b546ff97e3c912ada29d7f47653d830f072 Mon Sep 17 00:00:00 2001 From: mahmamdouh Date: Sat, 27 Dec 2025 01:29:59 +0100 Subject: [PATCH] fix --- deploy.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deploy.sh b/deploy.sh index 8147261..01c12f1 100644 --- a/deploy.sh +++ b/deploy.sh @@ -5,6 +5,12 @@ set -e +# Check if running as root +if [ "$EUID" -ne 0 ]; then + echo "❌ Please run as root (use sudo ./deploy.sh)" + exit 1 +fi + echo "🚀 Starting TestArena Deployment..." # 1. Install System Dependencies