[X2Go-Commits] [maintenancescripts] 01/01: killstalevms.bash: use proper redirection when executing dialog.

git-admin at x2go.org git-admin at x2go.org
Thu Feb 12 02:48:58 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 fd7ae0dc77ca2db560e76ffaec2e854d866d59f6
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Feb 12 02:48:54 2015 +0100

    killstalevms.bash: use proper redirection when executing dialog.
---
 killstalevms.bash |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/killstalevms.bash b/killstalevms.bash
index 3789ac9..1f5245a 100644
--- a/killstalevms.bash
+++ b/killstalevms.bash
@@ -49,7 +49,7 @@ done
 
 RESULT="0"
 while [ "${RESULT}" -eq "0" ]; do
-  MOREINFO=$(dialog --menu "Select VM to kill" 0 0 10 "${DIALOGMENU[@]}")
+  MOREINFO=$(dialog --menu "Select VM to kill" 0 0 10 "${DIALOGMENU[@]}" 2>&1 >/dev/tty)
   RESULT="$?"
 
   if [ "${RESULT}" -eq "0" ]; then

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


More information about the x2go-commits mailing list