Skip to content

Commit

Permalink
mpvc: Update mpvc (fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmt4 committed Dec 8, 2023
1 parent a968d12 commit e936759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpvc
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ mpvc_cmdr_() {
mpvc_cmdr() { equiet mpvc_sockcmd_ "$(q='"' mpvc_cmdr_ "$@")"; }
mpvc_ecmdr() {
ret=$(mpvc_cmdr "$@")
case "$ret" in *"success"*) ;; *) echo "$ret"; return 1 ;; esac
case "$ret" in *"success"*|'') ;; *) echo "$ret"; return 1 ;; esac
}

mpvc_cmd() { mpvc_cmdr "$@" | mpvc_getjson 'data'; }
Expand Down

0 comments on commit e936759

Please sign in to comment.