fix tests

This commit is contained in:
Dylan Araps 2018-06-19 09:08:02 +10:00
parent 24f5259339
commit afb6782a88
1 changed files with 2 additions and 2 deletions

View File

@ -2358,7 +2358,7 @@ get_song() {
}
case "${player/*\/}" in
"mpd"* | "mopidy"*) song="$(mpc -f '%artist%\n%album%\n%title%' current "${mpc_args[@]}")" ;;
"mpd"*|"mopidy"*) song="$(mpc -f '%artist%\n%album%\n%title%' current "${mpc_args[@]:?}")" ;;
"mocp"*) song="$(mocp -Q '%artist \n %album \n %song')" ;;
"google play"*) song="$(gpmdp-remote current)" ;;
"rhythmbox"*) song="$(rhythmbox-client --print-playing-format '%ta \n %at \n %tt')" ;;
@ -4665,7 +4665,7 @@ get_args() {
cpu_temp="C"
# Known implicit unused variables.
printf '%s\n' "$kernel $icons $font $battery $locale ${mpc_args[@]}"
printf '%s\n' "$kernel $icons $font $battery $locale ${mpc_args[*]}"
;;
esac