1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

add some meaningful outputSigned-off-by: Adam Warner <me@adamwarner.co.uk>

This commit is contained in:
Adam Warner 2020-12-02 20:35:40 +00:00
parent 61f13a334d
commit 641951b3a0
No known key found for this signature in database
GPG Key ID: 872950F3ECF2B173

View File

@ -529,6 +529,8 @@ make_repo() {
# If the directory exists, # If the directory exists,
if [[ -d "${directory}" ]]; then if [[ -d "${directory}" ]]; then
# Return with a 1 to exit the installer. We don't want to overwrite what could already be here in case it is not ours # Return with a 1 to exit the installer. We don't want to overwrite what could already be here in case it is not ours
str="Unable to clone ${remoteRepo} into ${directory}"
printf "%b %b%s\\n" "${OVER}" "${CROSS}" "${str}"
return 1 return 1
fi fi
# Clone the repo and return the return code from this command # Clone the repo and return the return code from this command