mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-10-25 14:00:56 +00:00
Fix docker running test
This commit is contained in:
parent
d8d196e53d
commit
5c77acf983
1 changed files with 2 additions and 2 deletions
|
|
@ -82,10 +82,10 @@ function verify_docker_installed() {
|
|||
}
|
||||
|
||||
function verify_docker_running() {
|
||||
if ! docker info |> /dev/null; then
|
||||
if ! docker info > /dev/null 2>&1 ; then
|
||||
log_error "dockerd is not running."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# Set trap which publishes error tag only if there is an error.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue