fix: exit test runs correctly
This commit is contained in:
parent
ba5bac7a81
commit
26806f9604
4
quickget
4
quickget
|
@ -460,7 +460,6 @@ function list_url_all() {
|
||||||
show_url_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}"
|
show_url_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
exit 0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function list_check_all() {
|
function list_check_all() {
|
||||||
|
@ -506,7 +505,6 @@ function list_check_all() {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
exit 0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function os_support() {
|
function os_support() {
|
||||||
|
@ -3458,6 +3456,7 @@ case "${1}" in
|
||||||
else
|
else
|
||||||
list_url_all "${1}"
|
list_url_all "${1}"
|
||||||
fi
|
fi
|
||||||
|
exit 0
|
||||||
;;
|
;;
|
||||||
'--check'|'-c')
|
'--check'|'-c')
|
||||||
OPERATION="test"
|
OPERATION="test"
|
||||||
|
@ -3474,6 +3473,7 @@ case "${1}" in
|
||||||
else
|
else
|
||||||
list_check_all "${1}"
|
list_check_all "${1}"
|
||||||
fi
|
fi
|
||||||
|
exit 0
|
||||||
;;
|
;;
|
||||||
#TODO: Argument without dashes should be DEPRECATED!
|
#TODO: Argument without dashes should be DEPRECATED!
|
||||||
'--list-csv'|'-lc'|'list'|'list_csv'|'lc')
|
'--list-csv'|'-lc'|'list'|'list_csv'|'lc')
|
||||||
|
|
Loading…
Reference in New Issue