This commit is contained in:
poslop
2025-06-25 13:38:19 -05:00
parent b545984d6f
commit 32965bcddb

View File

@@ -2,9 +2,9 @@
set -e
# Ensure the script is run as root
if [ $EUID -ne 0 ] then
   echo "❌ This script must be run as root. Please use sudo."
   exit 1
if [[ $EUID -ne 0 ]]; then
echo "You must be root to do this." 1>&2
exit 100
fi
# Set your target disk here