Fix some shellchecks issues
This commit is contained in:
parent
3ff244a3e5
commit
cfa15765e2
4 changed files with 10 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue