Set exit code explicitly everywhere

Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
Christian König 2024-10-20 09:36:28 +02:00
parent 7ae0b207fc
commit 8bf6480aed
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -192,7 +192,7 @@ GetComment() {
comment="$1"
if [[ "${comment}" =~ [^a-zA-Z0-9_\#:/\.,\ -] ]]; then
echo " ${CROSS} Found invalid characters in domain comment!"
exit
exit 1
fi
}

View file

@ -409,7 +409,7 @@ package_manager_detect() {
# we cannot install required packages
printf " %b No supported package manager found\\n" "${CROSS}"
# so exit the installer
exit
exit 1
fi
}