[X2Go-Commits] [maintenancescripts] 01/01: killstalevms.bash: re-initialize the list to not always append.

git-admin at x2go.org git-admin at x2go.org
Thu Feb 12 03:06:23 CET 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository maintenancescripts.

commit 0ae82b88709507b775324d488b0317aa5cc4e466
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Feb 12 03:06:18 2015 +0100

    killstalevms.bash: re-initialize the list to not always append.
---
 killstalevms.bash |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/killstalevms.bash b/killstalevms.bash
index fca0985..5cedf5a 100644
--- a/killstalevms.bash
+++ b/killstalevms.bash
@@ -43,7 +43,7 @@ done
 
 RESULT="0"
 while [ "${RESULT}" -eq "0" ]; do
-  typeset -a DIALOGMENU
+  typeset -a DIALOGMENU=()
   for ((i = 0; i < ${#BUILDER_LIST[@]}; ++i)); do
     DIALOGMENU+=("$i" "${VM_LIST[$i]}: ${COMPONENT_LIST[$i]} (${VERSION_LIST[$i]}) for ${BRANCH_LIST[$i]}")
   done

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git


More information about the x2go-commits mailing list