diff --git a/clone/utility/sats-loop b/clone/utility/sats-loop index 5fb8e73..2a0e1bd 100644 --- a/clone/utility/sats-loop +++ b/clone/utility/sats-loop @@ -3,8 +3,8 @@ # [1] first install (install source code) if [ -e /home/sats/satsd/first_install ]; then - usegit=1; - git > /dev/null 2> /dev/null || usegit=0; + usegit=0; + git --version > /dev/null 2> /dev/null && usegit=1 || usegit=0; # install source code if [ $usegit -eq 1 ]; then