Skip to content

Commit

Permalink
Fixed test to verify Docker daemon has stopped
Browse files Browse the repository at this point in the history
  • Loading branch information
markdumay committed Nov 5, 2020
1 parent a898e78 commit 0e7789a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syno_docker_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ execute_stop_syno() {
if [ "${syno_status}" = 'running' ] ; then
timeout "${SYNO_SERVICE_TIMEOUT}" synoservicectl --stop "${SYNO_DOCKER_SERV_NAME}"
syno_status=$(synoservicectl --status "${SYNO_DOCKER_SERV_NAME}" | grep stop -o)
if [ "${syno_status}" = 'stop' ] ; then
if [ "${syno_status}" != 'stop' ] ; then
terminate "Could not stop Docker daemon"
fi
fi
Expand Down

0 comments on commit 0e7789a

Please sign in to comment.