1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-27 18:13:15 +00:00

TOOLS/zsh.pl: fix a ret that hadn't been changed to rc

This commit is contained in:
Philip Sequeira 2014-08-15 15:08:14 -04:00 committed by Alessandro Ghedini
parent 4b8f512217
commit c7e67d008a

View File

@ -126,7 +126,7 @@ $profile_comp
"*.(#i)(asf|asx|avi|flac|flv|m1v|m2p|m2v|m4v|mjpg|mka|mkv|mov|mp3|mp4|mpe|mpeg|mpg|ogg|ogm|ogv|qt|rm|ts|vob|wav|webm|wma|wmv)(-.)" && rc=0 "*.(#i)(asf|asx|avi|flac|flv|m1v|m2p|m2v|m4v|mjpg|mka|mkv|mov|mp3|mp4|mpe|mpeg|mpg|ogg|ogm|ogv|qt|rm|ts|vob|wav|webm|wma|wmv)(-.)" && rc=0
if _requested urls; then if _requested urls; then
while _next_label urls expl URL; do while _next_label urls expl URL; do
_urls "\$expl[@]" && ret=0 _urls "\$expl[@]" && rc=0
compadd -S '' "\$expl[@]" $protos_str && rc=0 compadd -S '' "\$expl[@]" $protos_str && rc=0
done done
fi fi