Comment on exit value if only label name is requested

This commit is contained in:
Søren Theilgaard
2022-02-02 15:08:39 +01:00
parent ded71fdf8d
commit 790dabaa27

View File

@@ -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"