mpvwrap: Don't mistake silence for "whatever"

This commit is contained in:
Salt 2017-09-15 17:52:19 -05:00
parent 4dbedef1bb
commit 06ce80bc5c

View File

@ -76,6 +76,10 @@ function input-get {
}
input="$(input-get | tr -d '\n')"
if [ "$input" = "" ]; then
exit 1
fi
printf "Input: $input\n"
if cache-lookup-by-name "$input"; then