qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

commit 1e683923e1e42dda42911ebbaa191776aec3a626
parent 31948625020db943f2a5272a43876983c404d814
Author: Joel Challis <git@zvecr.com>
Date:   Wed,  7 Jan 2026 10:24:16 +0000

Handle broken symlinks in `qmk doctor` udev checks (#25934)

Handle broken symlinks in 'qmk doctor' udev checks
Diffstat:
Mlib/python/qmk/cli/doctor/linux.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/python/qmk/cli/doctor/linux.py b/lib/python/qmk/cli/doctor/linux.py @@ -87,7 +87,7 @@ def check_udev_rules(): line = line.strip() if not line.startswith("#") and len(line): current_rules.add(line) - except PermissionError: + except (PermissionError, FileNotFoundError): cli.log.debug("Failed to read: %s", rule_file) # Check if the desired rules are among the currently present rules