mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-21 21:53:43 +00:00
Set exit code explicitly everywhere
Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
parent
7ae0b207fc
commit
8bf6480aed
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue