Fix loop_count increment syntax for bash compatibility
This commit is contained in:
parent
4961b9391c
commit
6bf8cd84f2
1 changed files with 1 additions and 1 deletions
|
|
@ -345,7 +345,7 @@ main() {
|
||||||
log_status "INFO" "DEBUG: About to enter while loop, loop_count=$loop_count"
|
log_status "INFO" "DEBUG: About to enter while loop, loop_count=$loop_count"
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
((loop_count++))
|
loop_count=$((loop_count + 1))
|
||||||
log_status "INFO" "DEBUG: Successfully incremented loop_count to $loop_count"
|
log_status "INFO" "DEBUG: Successfully incremented loop_count to $loop_count"
|
||||||
log_status "INFO" "Loop #$loop_count - calling init_call_tracking..."
|
log_status "INFO" "Loop #$loop_count - calling init_call_tracking..."
|
||||||
init_call_tracking
|
init_call_tracking
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue