Browse Source

fix checkroot

Bachir Soussi Chiadmi 5 years ago
parent
commit
5ddce52124
1 changed files with 2 additions and 2 deletions
  1. 2 2
      bin/checkroot.sh

+ 2 - 2
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