From 9c7076b5792eb58f273bd7dd93559c39e2845e8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Tue, 25 Apr 2017 15:12:01 +0200 Subject: [PATCH] $? has an exitcode of the previous if then fi statement, use exit $ret --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index e8d54b2..edf8569 100755 --- a/testssl.sh +++ b/testssl.sh @@ -12990,5 +12990,5 @@ lets_roll() { #} #main -exit $? +exit $ret