mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-09 13:21:53 +00: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"
|
||||
# if label is wrong and we wanted name of the label, then return ##################
|
||||
if [[ $RETURN_LABEL_NAME -eq 1 ]]; then
|
||||
1=0
|
||||
echo "#"
|
||||
fi
|
||||
exit "$1"
|
||||
|
||||
Reference in New Issue
Block a user