diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2009-05-15 04:06:57 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2009-05-15 04:06:57 +0000 |
commit | fae52ae9801b12c11fdff55d5dd0cf4bbfa829d2 (patch) | |
tree | fc6a5a597b9568ca306ac3c55b3feb84baca86c7 /src/sbin | |
parent | e226690c555e87ac13f5d2543d197864e4d0270c (diff) | |
download | bcfg2-fae52ae9801b12c11fdff55d5dd0cf4bbfa829d2.tar.gz bcfg2-fae52ae9801b12c11fdff55d5dd0cf4bbfa829d2.tar.bz2 bcfg2-fae52ae9801b12c11fdff55d5dd0cf4bbfa829d2.zip |
Fix exit in bcfg2-info
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5239 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin')
-rwxr-xr-x | src/sbin/bcfg2-info | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info index 77fa2adf3..fad51f037 100755 --- a/src/sbin/bcfg2-info +++ b/src/sbin/bcfg2-info @@ -37,7 +37,7 @@ class infoCore(cmd.Cmd, Bcfg2.Server.Core.Core): raise SystemExit(1) self.prompt = '> ' self.cont = True - self.fam.handle_events_in_interval(10) + self.fam.handle_events_in_interval(8) def do_loop(self): self.cont = True @@ -61,7 +61,7 @@ class infoCore(cmd.Cmd, Bcfg2.Server.Core.Core): def do_quit(self, _): """Exit program. Usage: [quit|exit]""" - raise SystemExit(0) + os._exit(0) do_EOF = do_quit do_exit = do_quit |