summaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli/list/keymaps.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/qmk/cli/list/keymaps.py')
-rw-r--r--lib/python/qmk/cli/list/keymaps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/list/keymaps.py b/lib/python/qmk/cli/list/keymaps.py
index b18289eb35..49bc84b2ce 100644
--- a/lib/python/qmk/cli/list/keymaps.py
+++ b/lib/python/qmk/cli/list/keymaps.py
@@ -15,7 +15,7 @@ def list_keymaps(cli):
"""
if not is_keyboard(cli.config.list_keymaps.keyboard):
cli.log.error('Keyboard %s does not exist!', cli.config.list_keymaps.keyboard)
- exit(1)
+ return False
for name in qmk.keymap.list_keymaps(cli.config.list_keymaps.keyboard):
print(name)