fixed argv0 in $YTPICK error message

This commit is contained in:
Emma Tebibyte 2023-11-19 14:53:50 -07:00
parent c4918d16da
commit 072eb15aaa
Signed by: emma
GPG Key ID: 6D661C738815E7DD

2
yt
View File

@ -173,7 +173,7 @@ FMT='%(title)s %(channel)s (%(duration>%H:%M:%S)s) [%(webpage_url)s]'
WBAPI='https://archive.org/wayback/available?url='
if test -z "$YTPICK"; then
printf "%s: \$YTPICK unset." 1>&2
printf "%s: Please set \$YTPICK to your preferred picking tool." "$argv0" 1>&2
exit 78 # sysexits.h(3) EX_CONFIG
fi