diff --git a/.config/bash/module/transcode.sh b/.config/bash/module/transcode.sh index 688f9a8..e7e22ef 100644 --- a/.config/bash/module/transcode.sh +++ b/.config/bash/module/transcode.sh @@ -87,13 +87,13 @@ transcode() _transcode_gz-xz() { - [[ -f "${2}" ]] && return 0 + [[ -f "${2}" ]] && return 1 pv "${1}" | gzip -d | xz -9e > "${2}" } _transcode_xz-gz() { - [[ -f "${2}" ]] && return 0 + [[ -f "${2}" ]] && return 1 pv "${1}" | xz -d | gzip -1 > "${2}" }