home/fuji/tablet-mode: update shell syntax
This commit is contained in:
@@ -161,7 +161,7 @@ while IFS= read -r line <&3; do
|
|||||||
|
|
||||||
[ "$new" = "$state" ] && continue
|
[ "$new" = "$state" ] && continue
|
||||||
state="$new"
|
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"
|
apply "$state"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user