osx: fix exit on quit command in spotify function (#8504)

This commit is contained in:
Carver Schmidt 2019-12-28 11:01:26 -06:00 committed by Marc Cornellà
parent cf9aa420d6
commit 31219c0246

View File

@ -307,7 +307,7 @@ while [ $# -gt 0 ]; do
"quit" ) cecho "Quitting Spotify.";
osascript -e 'tell application "Spotify" to quit';
exit 0 ;;
break ;;
"next" ) cecho "Going to next track." ;
osascript -e 'tell application "Spotify" to next track';