1
0
Fork 0

supress docker update output

This commit is contained in:
Asif Bacchus 2020-09-14 23:21:37 -06:00
parent b4f8834d51
commit 0a032cdae1
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ updateSuccess=0
# reference constants
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/"
checksumFilename='checksums.sha256'
@ -46,7 +46,7 @@ printf "\nUpdating %s:\n" "$containerName"
### update container
printf "updating container... "
if ! docker pull "$containerUpdatePath"; then
if ! docker pull "$containerUpdatePath" > /dev/null 2>&1; then
printf "[ERROR]\n\n"
printf "There was an error updating the container. Try again later.\n\n"
exit 1