From 5ddce5212469bd7453230dfa874f274580517ec9 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Fri, 19 Apr 2019 10:30:55 +0200 Subject: [PATCH] fix checkroot --- bin/checkroot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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