supress docker update output

This commit is contained in:
Asif Bacchus 2020-09-14 23:21:37 -06:00
parent b4f8834d51
commit 0a032cdae1

View File

@ -32,7 +32,7 @@ updateSuccess=0
# reference constants # reference constants
containerName='ab-openldap' containerName='ab-openldap'
containerUpdatePath='docker.asifbacchus.app/ldap/ab-openldap:latest' containerUpdatePath='docker.asifbacchus.app/ldap/ab-openldap:latestx'
serverPath="https://asifbacchus.app/public/$containerName/" serverPath="https://asifbacchus.app/public/$containerName/"
checksumFilename='checksums.sha256' checksumFilename='checksums.sha256'
@ -46,7 +46,7 @@ printf "\nUpdating %s:\n" "$containerName"
### update container ### update container
printf "updating container... " printf "updating container... "
if ! docker pull "$containerUpdatePath"; then if ! docker pull "$containerUpdatePath" > /dev/null 2>&1; then
printf "[ERROR]\n\n" printf "[ERROR]\n\n"
printf "There was an error updating the container. Try again later.\n\n" printf "There was an error updating the container. Try again later.\n\n"
exit 1 exit 1