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
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ GetComment() {
comment="$1" comment="$1"
if [[ "${comment}" =~ [^a-zA-Z0-9_\#:/\.,\ -] ]]; then if [[ "${comment}" =~ [^a-zA-Z0-9_\#:/\.,\ -] ]]; then
echo " ${CROSS} Found invalid characters in domain comment!" echo " ${CROSS} Found invalid characters in domain comment!"
exit exit 1
fi fi
} }
+1 -1
View File
@@ -409,7 +409,7 @@ package_manager_detect() {
# we cannot install required packages # we cannot install required packages
printf " %b No supported package manager found\\n" "${CROSS}" printf " %b No supported package manager found\\n" "${CROSS}"
# so exit the installer # so exit the installer
exit exit 1
fi fi
} }