From dcb471c0ada7e954e98ff5f4e0c705e5de8c4849 Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 13 Nov 2023 17:52:40 +0100 Subject: [PATCH] > -gt --- API/QRCODE.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/API/QRCODE.sh b/API/QRCODE.sh index 7764ef40b..ac6aa4ca7 100755 --- a/API/QRCODE.sh +++ b/API/QRCODE.sh @@ -770,7 +770,7 @@ else echo "VISITEUR POSSEDE ${VISITORCOINS} G1" ## GET G1 WALLET HISTORY - if [[ ${VISITORCOINS} != "null" && ${VISITORCOINS} -gt 0 ]]; then + if [[ ${VISITORCOINS} != "null" && ${VISITORCOINS} > 0 ]]; then [[ ! -s ~/.zen/tmp/${MOATS}/${QRCODE}.g1history.json ]] \ && ${MY_PATH}/../tools/timeout.sh -t 20 $MY_PATH/../tools/jaklis/jaklis.py history -p ${QRCODE} -j > ~/.zen/tmp/${MOATS}/${QRCODE}.g1history.json @@ -855,7 +855,7 @@ else ## DOES CURRENT IS RICHER THAN 100 G1 ## IF GCHANGE ACCOUNT FOUND => SEND PALPE JUNE. # SEND MESSAGE TO GCHANGE MESSAGING. SEND 5 ★ - if [[ $CURCOINS -gt 100 && $PALPE != 0 ]]; then + if [[ $CURCOINS > 100 && $PALPE != 0 ]]; then ## LE COMPTE VISITOR EST VIDE echo "## AUTOGRAPH $CURPLAYER SEND $PALPE TO ${QRCODE}"