supress docker update output
This commit is contained in:
parent
b4f8834d51
commit
0a032cdae1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user