From de955d2e979021f8b2e6831e4c569e59c70c3290 Mon Sep 17 00:00:00 2001 From: qo-op Date: Tue, 12 May 2020 02:54:33 +0200 Subject: [PATCH] debug --- g1sms/functions.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/g1sms/functions.sh b/g1sms/functions.sh index d78cff1..e47bc5f 100755 --- a/g1sms/functions.sh +++ b/g1sms/functions.sh @@ -223,10 +223,12 @@ do duniter_server=$(/home/$YOU/.zen/astroport/zen/tools/duniter_getnode.sh) log "Running silkaj -p "${duniter_server}" balance $pubkey" silkajOutput=$(silkaj -p "${duniter_server}" balance $pubkey 2>/dev/null) + log "$silkajOutput" + silkajExitCode=$? ((myi++)) - [ $i -gt 4 ] && continue + [ $i -gt 4 ] && break done if [[ $silkajOutput =~ $silkajQuantitativeAmountPattern ]]