We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a968d12 commit e936759Copy full SHA for e936759
mpvc
@@ -265,7 +265,7 @@ mpvc_cmdr_() {
265
mpvc_cmdr() { equiet mpvc_sockcmd_ "$(q='"' mpvc_cmdr_ "$@")"; }
266
mpvc_ecmdr() {
267
ret=$(mpvc_cmdr "$@")
268
- case "$ret" in *"success"*) ;; *) echo "$ret"; return 1 ;; esac
+ case "$ret" in *"success"*|'') ;; *) echo "$ret"; return 1 ;; esac
269
}
270
271
mpvc_cmd() { mpvc_cmdr "$@" | mpvc_getjson 'data'; }
0 commit comments