Root check
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$(id -u)" != 0 ]; then
|
||||
echo -e "\033[0;31mThis script must be run with root privileges"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
./october_install_prereq.sh
|
||||
if [ $? != 0 ]; then
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user