Don't run as root

This commit is contained in:
Ryan Hughes
2025-10-23 20:28:23 -04:00
parent 4f2f7b41e7
commit 62b6802641

View File

@@ -1,5 +1,10 @@
#!/bin/bash #!/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" LOG_FILE="/tmp/omarchy-debug.log"
cat > "$LOG_FILE" <<EOF cat > "$LOG_FILE" <<EOF