fix a bug with busybox pidof
Signed-off-by: Stacy Harper <contact@stacyharper.net> Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
parent
ecacc3ae8a
commit
a604dab958
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ SXMO_NO_ICONS=1 #just to make it a bit faster
|
|||
open() {
|
||||
#Note: KEYBOARD_ARGS is not quoted by design as it may includes a pipe and further tools
|
||||
# shellcheck disable=SC2086
|
||||
pidof -q "$KEYBOARD" || eval "$KEYBOARD" $KEYBOARD_ARGS &
|
||||
pidof "$KEYBOARD" > /dev/null || eval "$KEYBOARD" $KEYBOARD_ARGS &
|
||||
}
|
||||
|
||||
close() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue