diff --git a/scripts/core/sxmo_contactmenu.sh b/scripts/core/sxmo_contactmenu.sh index 73c8519..5655192 100755 --- a/scripts/core/sxmo_contactmenu.sh +++ b/scripts/core/sxmo_contactmenu.sh @@ -52,6 +52,7 @@ editcontactnumber() { deletecontact() { name="$(echo "$1" | cut -d" " -f2)" + # shellcheck disable=SC2059 ENTRIES="$(printf "$icon_cls No\n$icon_chk Yes")" PICKED="$( echo "$ENTRIES" | diff --git a/scripts/modem/sxmo_modemtext.sh b/scripts/modem/sxmo_modemtext.sh index ebb8211..ec55d7d 100755 --- a/scripts/modem/sxmo_modemtext.sh +++ b/scripts/modem/sxmo_modemtext.sh @@ -74,7 +74,7 @@ sendtextmenu() { menu dmenu -c -idx 1 -p "Confirm" -l 10 )" if echo "$CONFIRM" | grep -q "Send"; then - (cat "$DRAFT" | sxmo_modemsendsms.sh "$NUMBER" -) && \ + (sxmo_modemsendsms.sh "$NUMBER" - < "$DRAFT") && \ rm "$DRAFT" && \ echo "Sent text to $NUMBER">&2 && exit 0 elif echo "$CONFIRM" | grep -q "Edit"; then