From a123b17d52ddbd3d1d353140b7de202f0bc974c8 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Thu, 25 Oct 2018 04:23:32 -0600 Subject: [PATCH] formatted code in fcn operateDocker --- root/scripts/backup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/root/scripts/backup.sh b/root/scripts/backup.sh index 359458a..06b5330 100644 --- a/root/scripts/backup.sh +++ b/root/scripts/backup.sh @@ -232,7 +232,8 @@ elif [ "$1" = "start" ]; then >> "$logFile" docker-compose start ${2}-mailcow 2>> "$logFile" # verify - dockerResult=$(docker inspect -f '{{ .State.Running }}' ${COMPOSE_PROJECT_NAME}_${2}-mailcow_1) + dockerResult=$(docker inspect -f '{{ .State.Running }}' \ + ${COMPOSE_PROJECT_NAME}_${2}-mailcow_1) fi }