Browse Source

standard error output

main
deicidus 1 year ago
parent
commit
c446f22201
  1. 2
      spells/cantrips/ask_yn

2
spells/cantrips/ask_yn

@ -26,7 +26,7 @@ if [ -z "$answer" ]; then
fi
# Print the answer and return appropriate exit code
printf "%s\n" "$(echo $answer | tr a-z A-Z)"
printf "%s\n" "$(echo $answer | tr a-z A-Z" >&2
if [ "$answer" = "Y" -o "$answer" = "y" ]; then
exit 0
else

Loading…
Cancel
Save