diff --git a/apps/k8s01/jellyfin/jellyfin-pdb-mgr/deployment.yaml b/apps/k8s01/jellyfin/jellyfin-pdb-mgr/deployment.yaml
index 28a70dc9eee0d380d022aab66ac4c53b1af26707..42001b8343c6694e65f3ec65a91f65da26a62d6a 100644
--- a/apps/k8s01/jellyfin/jellyfin-pdb-mgr/deployment.yaml
+++ b/apps/k8s01/jellyfin/jellyfin-pdb-mgr/deployment.yaml
@@ -9,7 +9,7 @@
         #!/bin/sh
 
         while true; do
-            if curl --variable %JELLYFIN_KEY 'http://localhost:8096/Sessions\?ApiKey\={{JELLYFIN_KEY:url}}' | jq -e '.[].NowPlayingItem != null'; then
+            if curl --variable %JELLYFIN_KEY 'http://localhost:8096/Sessions\?ApiKey\={{JELLYFIN_KEY:url}}' | jq '.[].NowPlayingItem != null' | grep 'true'; then
                 kubectl patch --patch '{"spec": {"maxUnavailable:": 0}}' jellyfin
             else
                 kubectl patch --patch '{"spec": {"maxUnavailable:": 1}}' jellyfin