This commit is contained in:
2019-04-17 22:13:54 +02:00
parent ae8ccb5bf6
commit 82d2186327
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -2,7 +2,9 @@
echo -e "checking root"
if [ "$EUID" -ne 0 ]; then
if [ "$EUID" = 0 ]; then
echo -e "Please run as root"
exit
else
echo -e "root ok"
fi