mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-29 22:04:09 +01:00
Update functions.sh
If only returning label name, then we exit with 0.
This commit is contained in:
@@ -20,6 +20,7 @@ cleanupAndExit() { # $1 = exit code, $2 message
|
|||||||
printlog "################## End Installomator, exit code $1 \n\n"
|
printlog "################## End Installomator, exit code $1 \n\n"
|
||||||
# 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
|
||||||
echo "#"
|
echo "#"
|
||||||
fi
|
fi
|
||||||
exit "$1"
|
exit "$1"
|
||||||
|
|||||||
Reference in New Issue
Block a user