mpvwrap: Don't mistake silence for "whatever"
This commit is contained in:
parent
4dbedef1bb
commit
06ce80bc5c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user