Skip to content

Commit 26a89b6

Browse files
committed
[update] : use the exit code to an integer
1 parent 6b528fe commit 26a89b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1245,7 +1245,7 @@ msg_debug "Use the default configuration file (${defaultconfig})."
12451245

12461246
# Check for a valid channel name
12471247
if [[ -n "${1+SET}" ]]; then
1248-
case "$(bash "${tools_dir}/channel.sh" --version "${alteriso_version}" -n check "${1}"; printf "${?}")" in
1248+
case "$(bash "${tools_dir}/channel.sh" --version "${alteriso_version}" -n check "${1}"; printf "%d" "${?}")" in
12491249
"2")
12501250
msg_error "Invalid channel ${1}" "1"
12511251
;;

0 commit comments

Comments
 (0)