mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
Comment on exit value if only label name is requested
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user