minor shellcheck fixes after applying latest patches

This commit is contained in:
Maarten van Gompel 2021-04-23 19:23:06 +02:00
parent 92561f7d7e
commit b5e5387121
3 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@
. "$(dirname "$0")/sxmo_common.sh"
finish() {
kill $LOCKPID
kill "$LOCKPID"
}
trap 'finish' TERM INT

View file

@ -9,7 +9,7 @@ syncstate() {
}
finish() {
kill $(jobs -p)
kill "$(jobs -p)"
syncstate
[ free = "$STATE" ] && [ true = "$WASLOCKED" ] && sxmo_lock.sh &
exit 0