diff options
-rwxr-xr-x | src/sbin/bcfg2-info | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info index 5703d2a5e..7789b78da 100755 --- a/src/sbin/bcfg2-info +++ b/src/sbin/bcfg2-info @@ -21,7 +21,7 @@ def getInput(): except KeyboardInterrupt: return [''] except EOFError: - return [None] + return ['quit'] def doShowentries(cmd, core): '''show abstract configuration entries for a given host''' @@ -180,8 +180,6 @@ if __name__ == '__main__': time.sleep(0.5) while True: ucmd = getInput() - if ucmd[0] == None: - ucmd[0] = 'quit' if ucmd[0] == 'debug': break else: |