From d5c28f6ec2038543d393b3f13cb9df2c0e837b9c Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Fri, 3 Feb 2023 23:51:06 +0000 Subject: [PATCH] Move calling show_host() to function die(), where it belongs Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index 842e0ff..72ae492 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -539,6 +539,7 @@ Easy-RSA error: $1 " 1>&2 + show_host exit "${2:-1}" } # => die() @@ -747,7 +748,6 @@ Temporary session not preserved." # Exit: Final Fail # if 'cleanup' is called without 'ok' # then an error occurred - show_host exit 1 } # => cleanup()