From 790dabaa27306a839ebe0610c0507dd0bf472cc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Wed, 2 Feb 2022 15:08:39 +0100 Subject: [PATCH] Comment on exit value if only label name is requested --- fragments/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fragments/functions.sh b/fragments/functions.sh index 3abbdfb..78e7704 100644 --- a/fragments/functions.sh +++ b/fragments/functions.sh @@ -23,7 +23,7 @@ cleanupAndExit() { # $1 = exit code, $2 message, $3 level # if label is wrong and we wanted name of the label, then return ################## if [[ $RETURN_LABEL_NAME -eq 1 ]]; then - 1=0 + 1=0 # If only label name should be returned we exit without any errors echo "#" fi exit "$1"