From 62b6802641f9da80b7f68db6e7b18d64dabeca3c Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Thu, 23 Oct 2025 20:28:23 -0400 Subject: [PATCH] Don't run as root --- bin/omarchy-debug | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/omarchy-debug b/bin/omarchy-debug index 05c35df8..46401635 100755 --- a/bin/omarchy-debug +++ b/bin/omarchy-debug @@ -1,5 +1,10 @@ #!/bin/bash +if [ "$EUID" -eq 0 ]; then + echo "Error: This script should not be run as root" + exit 1 +fi + LOG_FILE="/tmp/omarchy-debug.log" cat > "$LOG_FILE" <