add root permission notification

This commit is contained in:
Edi Septriyanto
2020-05-15 01:41:06 +07:00
parent 2c25f1256f
commit c858bec026

View File

@@ -23,7 +23,7 @@ APP_VERSION="1.3.0"
# May need to run this as sudo!
if [ "$(id -u)" -ne 0 ]; then
error "This command can only be used by root."
echo "This command can only be used by root."
exit 1
fi