Explorar o código

fix checkroot

Bachir Soussi Chiadmi %!s(int64=6) %!d(string=hai) anos
pai
achega
5ddce52124
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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