From 5fcbd2951d203d29f59554cc54a47a8416d42bda Mon Sep 17 00:00:00 2001 From: LecygneNoir Date: Sat, 9 Mar 2019 08:12:41 +0100 Subject: [PATCH] Fixed sortedEvent to fix bug #8 --- rollback_module.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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