31219c02463f1f57271a3d336b4c25b9902ca4ad

Author
Carver Schmidt <46279291+carverschmidt@users.noreply.github.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

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

Diff

 1diff --git a/plugins/osx/spotify b/plugins/osx/spotify
 2index 78d6c7d0fce6b8d85a31356746226a722a47fbe6..6233d813dbdfd2cc54f6bd0f6da28565e84ffed8 100644
 3--- a/plugins/osx/spotify
 4+++ b/plugins/osx/spotify
 5@@ -307,7 +307,7 @@ while [ $# -gt 0 ]; do
 6 
 7         "quit"    ) cecho "Quitting Spotify.";
 8             osascript -e 'tell application "Spotify" to quit';
 9-            exit 0 ;;
10+            break ;;
11 
12         "next"    ) cecho "Going to next track." ;
13             osascript -e 'tell application "Spotify" to next track';