fix checkroot
This commit is contained in:
+2
-2
@@ -3,8 +3,8 @@
|
|||||||
echo -e "checking root"
|
echo -e "checking root"
|
||||||
|
|
||||||
if [ "$EUID" = 0 ]; then
|
if [ "$EUID" = 0 ]; then
|
||||||
|
echo -e "root ok"
|
||||||
|
else
|
||||||
echo -e "Please run as root"
|
echo -e "Please run as root"
|
||||||
exit
|
exit
|
||||||
else
|
|
||||||
echo -e "root ok"
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user