fix a bug with busybox pidof

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
master
Stacy Harper 4 years ago committed by Maarten van Gompel
parent ecacc3ae8a
commit a604dab958
  1. 2
      scripts/core/sxmo_keyboard.sh

@ -9,7 +9,7 @@ SXMO_NO_ICONS=1 #just to make it a bit faster
open() { open() {
#Note: KEYBOARD_ARGS is not quoted by design as it may includes a pipe and further tools #Note: KEYBOARD_ARGS is not quoted by design as it may includes a pipe and further tools
# shellcheck disable=SC2086 # shellcheck disable=SC2086
pidof -q "$KEYBOARD" || eval "$KEYBOARD" $KEYBOARD_ARGS & pidof "$KEYBOARD" > /dev/null || eval "$KEYBOARD" $KEYBOARD_ARGS &
} }
close() { close() {

Loading…
Cancel
Save