Commit 0653b50a by Nótai István

install: fix root check

parent 1b57b472
if [ "$EUID" -ne 0 ]; then
if [ $(id -u) -ne 0 ]; then
NC='\033[0m' # No Color
echo -e $RED_UNDERLINED"Please run as root or use sudo!"$NC
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment