Fix some shellchecks issues

This commit is contained in:
Stacy Harper 2021-07-25 09:54:53 +02:00
parent 3ff244a3e5
commit cfa15765e2
No known key found for this signature in database
GPG key ID: 5BAC92328B7C5D65
4 changed files with 10 additions and 5 deletions

View file

@ -13,7 +13,7 @@ gracefulexit() {
}
confirm() {
PICKED="$(echo -e "Yes\nNo" | dmenu -l 16 -c -p "Confirm $1")"
PICKED="$(printf "Yes\nNo\n" | dmenu -l 16 -c -p "Confirm $1")"
if [ "$PICKED" = "Yes" ]; then
return 0