]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cryptic error message in ceph interactive mode 4705/head
authorMichal Jarzabek <stiopa@gmail.com>
Sun, 17 May 2015 14:22:44 +0000 (15:22 +0100)
committerMichal Jarzabek <stiopa@gmail.com>
Sun, 17 May 2015 14:22:44 +0000 (15:22 +0100)
Fixes: #11459
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
src/ceph.in

index 317b259c07e962011cebd5a18930b606181c1871..5f7d34c2df6bb7732fb2c5caf36c7de1527e29f2 100755 (executable)
@@ -337,7 +337,7 @@ if sys.stdin.isatty():
     def read_input():
         while True:
             line = raw_input(PROMPT).rstrip()
-            if line in ['q', 'quit', 'Q']:
+            if line in ['q', 'quit', 'Q', 'exit']:
                 return None
             if line:
                 return line