mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-03 14:23:05 +01: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 label is wrong and we wanted name of the label, then return ##################
|
||||||
if [[ $RETURN_LABEL_NAME -eq 1 ]]; then
|
if [[ $RETURN_LABEL_NAME -eq 1 ]]; then
|
||||||
1=0
|
1=0 # If only label name should be returned we exit without any errors
|
||||||
echo "#"
|
echo "#"
|
||||||
fi
|
fi
|
||||||
exit "$1"
|
exit "$1"
|
||||||
|
|||||||
Reference in New Issue
Block a user