We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ffec57e + 2be9b60 commit 97353a3Copy full SHA for 97353a3
mqtt.sh
@@ -31,7 +31,7 @@ retryMQTTpub() {
31
32
# Retry loop
33
cmdCounterLoop=0
34
- while [ $((cmdCounterLoop += 1)) -lt $retryMQTTAttemptCount ]; do
+ while [ $((cmdCounterLoop += 1)) -le $retryMQTTAttemptCount ]; do
35
36
log_debug "Attempt $cmdCounterLoop/${retryMQTTAttemptCount} retryMQTTpub; calling mosquitto_pub $args"
37
set +e
0 commit comments