home/fuji/tablet-mode: update shell syntax

This commit is contained in:
2026-08-08 11:43:40 +02:00
parent 863013af13
commit e99c075f57
+1 -1
View File
@@ -161,7 +161,7 @@ while IFS= read -r line <&3; do
[ "$new" = "$state" ] && continue
state="$new"
[ "$state" = 1 ] && log "tablet mode on" || log "tablet mode off"
if [ "$state" = 1 ]; then log "tablet mode on"; else log "tablet mode off"; fi
apply "$state"
done