diff --git a/dev/common_install.sh b/dev/common_install.sh index d91f367..6f57262 100644 --- a/dev/common_install.sh +++ b/dev/common_install.sh @@ -10,7 +10,7 @@ PROGRAM_BINARY=$PROGRAM".sh" PROGRAM_BATCH=$PROGRAM"-batch.sh" SSH_FILTER="ssh_filter.sh" -SCRIPT_BUILD=2020042901 +SCRIPT_BUILD=2020112901 INSTANCE_ID="installer-$SCRIPT_BUILD" ## osync / obackup / pmocr / zsnap install script @@ -276,14 +276,14 @@ function CopyServiceFiles { } function Statistics { - if type wget > /dev/null; then + if type wget > /dev/null 2>&1; then wget -qO- "$STATS_LINK" > /dev/null 2>&1 if [ $? == 0 ]; then return 0 fi fi - if type curl > /dev/null; then + if type curl > /dev/null 2>&1; then curl "$STATS_LINK" -o /dev/null > /dev/null 2>&1 if [ $? == 0 ]; then return 0