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

@ -25,14 +25,14 @@ finish() {
echo "sxmo_modemcall: $1">&2
notify-send "$1"
fi
[ -n "$LOCKPID" ] && kill $LOCKPID
[ -n "$LOCKPID" ] && kill "$LOCKPID"
pkill -9 dmenu
exit 1
}
gracefulexit() {
kill $MAINPID
wait $MAINPID
kill "$MAINPID"
wait "$MAINPID"
finish "Call ended"
}