Enhance warning message

This commit is contained in:
Joshua Boniface 2023-09-01 15:41:56 -04:00
parent d2f67062ed
commit 769e19dae9
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
#!/usr/bin/env bash
if [[ $( whoami ) != "root" ]]; then
echo "This script is designed to run as root within the installer only!"
echo "STOP! This script is designed to run as root within the installer only!"
echo "Do not run it on your system. To build a PVC installer ISO, use './buildiso.sh' instead!"
exit 1
fi