fix err() in yt
This commit is contained in:
parent
cbb66c88a8
commit
215320b632
|
@ -27,7 +27,7 @@ cache () {
|
||||||
}
|
}
|
||||||
err () {
|
err () {
|
||||||
printf "err: %s\n" ${1}
|
printf "err: %s\n" ${1}
|
||||||
[ -z "${2}" ] 2=1
|
[ -z "${2}" ] && 2=1
|
||||||
exit ${2}
|
exit ${2}
|
||||||
}
|
}
|
||||||
sync () {
|
sync () {
|
||||||
|
|
Loading…
Reference in New Issue