cd_error_

This commit is contained in:
Marc Beninca 2024-06-08 16:08:06 +02:00
parent 5e8dd6fec2
commit d786c87a78
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

6
cd.sh
View file

@ -614,14 +614,14 @@ local name
}
cd_error_ci () {
echo "× CI: ${1}"
echo "× CI: ${*}"
exit ${CD_ERROR_CI}
}
cd_error_os () {
local variable="${1}"
cd_error_os__variable="${1}"
printf "× OS: "
cd_echo "${variable}"
cd_echo "${cd_error_os__variable}"
exit ${CD_ERROR_OS}
}