From 142aaf53a8f41d0b0e772a1d74d9ca06bd28e2db Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Thu, 26 Jan 2017 10:31:40 +0100 Subject: [PATCH] Fixed git check for sats-loop --- clone/utility/sats-loop | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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