From 5e66b7e6ad595fa497ae45fe1789bcbfd3703a22 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Thu, 27 Mar 2008 15:52:21 +0000 Subject: [PATCH] Fix a bug in interactive confirmation of instances This oneliner fixes a bug in listing more than twenty instances for multiple operations (shutdown, startup, etc.). Reviewed-by: imsnah --- scripts/gnt-instance | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gnt-instance b/scripts/gnt-instance index e93e56467..8963456bb 100755 --- a/scripts/gnt-instance +++ b/scripts/gnt-instance @@ -131,7 +131,7 @@ def _ConfirmOperation(inames, text): choice = AskUser(ask, choices) if choice == 'v': choices.pop(1) - choice = AskUser(choices, msg + affected) + choice = AskUser(msg + affected, choices) return choice -- GitLab