[eit] wait indefinitely to acquire the resources lock using a spinner

This commit is contained in:
Fabio Erculiani
2013-05-03 09:12:51 +02:00
parent 93debd109d
commit 897799201f

View File

@@ -202,7 +202,8 @@ class EitCommand(object):
except PermissionDenied as err:
print_error(err.value)
return 1
acquired = entropy.tools.acquire_entropy_locks(server)
acquired = entropy.tools.acquire_entropy_locks(
server, spinner=True)
if not acquired:
server.output(
darkgreen(_("Another Entropy is currently running.")),