diff options
Diffstat (limited to 'src/sbin/bcfg2-info')
-rwxr-xr-x | src/sbin/bcfg2-info | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info index 9016a7fed..ef5db6f6a 100755 --- a/src/sbin/bcfg2-info +++ b/src/sbin/bcfg2-info @@ -32,11 +32,10 @@ class infoCore(cmd.Cmd, Bcfg2.Server.Core.Core): raise SystemExit(1) self.prompt = '> ' self.cont = True - for i in range(25): - print "Filesystem check %d of %d" % (i + 1, 25) - self.fam.Service() - time.sleep(0.5) - + i = 0 + while self.fam.Service() or i < 5: + i += 1 + def do_loop(self): self.cont = True while self.cont: |