diff --git a/module/autopif.sh b/module/autopif.sh index de82d4a..ab3bdd5 100644 --- a/module/autopif.sh +++ b/module/autopif.sh @@ -1,6 +1,6 @@ #!/system/bin/sh -if [ "$USER" != "root" -o "$(whoami 2>/dev/null)" != "root" ]; then +if [ "$USER" != "root" -a "$(whoami 2>/dev/null)" != "root" ]; then echo "autopif: need root permissions"; exit 1; fi; diff --git a/module/killgms.sh b/module/killgms.sh index 97ea64b..6d5e31e 100644 --- a/module/killgms.sh +++ b/module/killgms.sh @@ -4,7 +4,7 @@ # Kill the Google Play services DroidGuard process # (com.google.android.gms.unstable) -if [ "$USER" != "root" -o "$(whoami 2>/dev/null)" != "root" ]; then +if [ "$USER" != "root" -a "$(whoami 2>/dev/null)" != "root" ]; then echo "killgms: need root permissions"; exit 1; fi;