diff --git a/bin/checkroot.sh b/bin/checkroot.sh index 2d47090..7819d0a 100755 --- a/bin/checkroot.sh +++ b/bin/checkroot.sh @@ -3,8 +3,8 @@ echo -e "checking root" if [ "$EUID" = 0 ]; then + echo -e "root ok" +else echo -e "Please run as root" exit -else - echo -e "root ok" fi