Tell we're gonna retry after the "autoselecting 'r'" countdown.
authorJán Kupec <jkupec@suse.cz>
Wed, 13 May 2009 08:19:04 +0000 (10:19 +0200)
committerJán Kupec <jkupec@suse.cz>
Wed, 13 May 2009 08:19:04 +0000 (10:19 +0200)
src/utils/prompt.cc

index 1fef1e4..279209e 100644 (file)
@@ -243,6 +243,9 @@ read_action_ari_with_timeout(PromptId pid, unsigned timeout, int default_action)
     --timeout;
   }
 
+  if (zypper.out().type() != Out::TYPE_XML)
+    cout << CLEARLN << _("Trying again...") << endl;
+
   return default_action;
 }