From 310934a9f0e62ea3b40a72d82e373ff5b8ec9419 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Mon, 8 Jan 2024 18:13:12 +0100 Subject: [PATCH] proper error --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index a3728d2..64ec3fc 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -28,7 +28,7 @@ detect_arch(){ else architecture="unknown" fi - echo $architecture + ynh_die --message="The script can't identify a valid architecture. Please report this error." } # custom function to change bash bool 0/1 to false/true