[X2Go-Commits] [maintenancescripts] 01/01: killstalevms.bash: while ... do, not then.

git-admin at x2go.org git-admin at x2go.org
Thu Feb 12 02:33:43 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 9ee26b7a20e77b1da64fd7959928825c23144388
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Feb 12 02:33:38 2015 +0100

    killstalevms.bash: while ... do, not then.
---
 killstalevms.bash |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/killstalevms.bash b/killstalevms.bash
index c461354..d8559b5 100644
--- a/killstalevms.bash
+++ b/killstalevms.bash
@@ -47,7 +47,7 @@ for ((i = 0; i < ${#BUILDER_LIST[@]}; ++i)); do
   DIALOGMENU+=("$i" "${VM_LIST[$i]}: ${COMPONENT_LIST[$i]} (${VERSION_LIST[$i]}) for ${BRANCH_LIST[$i]}")
 done
 
-while [ "${RESULT}" -eq "0" ]; then
+while [ "${RESULT}" -eq "0" ]; do
   MOREINFO=$(dialog --menu "Select VM to kill" 0 0 10 "${DIALOGMENU[@]}")
   RESULT="$?"
 

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


More information about the x2go-commits mailing list