diff --git a/rollback_module.sh b/rollback_module.sh index 7278c29..9e16e1f 100755 --- a/rollback_module.sh +++ b/rollback_module.sh @@ -78,7 +78,7 @@ function rebuild_txt { currentEvent="" currentNode="" - for index in "${!sortedEvent[@]}"; do + for index in "${sortedEvent[@]}"; do # If currentEvent is different than our index, then we just changed event and need to close the precedent # We also closed the next event in line if [[ ${currentEvent} != ${index} && "${currentEvent}" != "" ]]; then