summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/cli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/qmk/cli')
-rwxr-xr-xlib/python/qmk/cli/doctor.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/doctor.py b/lib/python/qmk/cli/doctor.py
index 636e49dab3..20f8650e5e 100755
--- a/lib/python/qmk/cli/doctor.py
+++ b/lib/python/qmk/cli/doctor.py
@@ -131,7 +131,10 @@ def check_submodules():
cli.log.warn('Submodule %s is not available.', submodule['name'])
elif not submodule['status']:
if submodule['name'] in ESSENTIAL_SUBMODULES:
- cli.log.warn('Submodule %s is not up to date!')
+ cli.log.error('Submodule %s is not up to date!', submodule['name'])
+ ok = False
+ else:
+ cli.log.warn('Submodule %s is not up to date!', submodule['name'])
return ok
[cgit] Unable to lock slot /tmp/cgit/78100000.lock: No such file or directory (2)