Skip to content

Commit faafe3d

Browse files
committed
[fix] : Correctly display errors from older versions
1 parent 5351cd4 commit faafe3d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

allarch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@ set +eu
13681368

13691369
# Check for a valid channel name
13701370
if [[ -n "${1}" ]]; then
1371-
case "$(bash "${script_path}/tools/channel.sh" -m check "${1}")" in
1371+
case "$(bash "${script_path}/tools/channel.sh" -n -m check "${1}")" in
13721372
"incorrect")
13731373
msg_error "Invalid channel ${1}" "1"
13741374
;;

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,7 @@ set +eu
14501450

14511451
# Check for a valid channel name
14521452
if [[ -n "${1}" ]]; then
1453-
case "$(bash "${script_path}/tools/channel.sh" -m check "${1}")" in
1453+
case "$(bash "${script_path}/tools/channel.sh" -n -m check "${1}")" in
14541454
"incorrect")
14551455
msg_error "Invalid channel ${1}" "1"
14561456
;;

0 commit comments

Comments
 (0)