Stop Tuxedo backlight fix from aborting setup (#6583)

The orphaned module cleanup loop was the last statement in the script, so
when the glob matched nothing the trailing && list left an exit status of
1. run_logged propagates that, aborting hardware setup on every Tuxedo and
Slimbook install.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
David Heinemeier Hansson
2026-08-07 11:14:30 +02:00
committed by GitHub
co-authored by Claude Opus 5
parent dd2f434a7d
commit 25a74f4e39
+3 -1
View File
@@ -11,6 +11,8 @@ if cat /sys/class/dmi/id/sys_vendor 2>/dev/null | grep -qi "TUXEDO\|Slimbook"; t
# Remove any orphaned clevo_xsm_wmi module files not managed by a package
for f in /lib/modules/*/extra/clevo-xsm-wmi.ko; do
[ -f "$f" ] && rm "$f"
if [[ -f $f ]]; then
rm "$f"
fi
done
fi