From aac065022c14a7c236051956f42abb4c28f32779 Mon Sep 17 00:00:00 2001 From: mag37 Date: Wed, 1 Mar 2023 20:52:17 +0100 Subject: [PATCH] urgent Should not edit on production! Too stressful. Another mistake corrected. --- dockcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockcheck.sh b/dockcheck.sh index 965d794..9e2f442 100755 --- a/dockcheck.sh +++ b/dockcheck.sh @@ -181,7 +181,7 @@ if [ -n "$GotUpdates" ] ; then ComposeFile="$ContPath/$ContConfigFile" fi ### cd to the compose-file directory to account for people who use relative volumes, eg - ${PWD}/data:data - cd "$(dirname "${ContPath}")" || { echo "Path error - skipping $i" ; continue ; } + cd "$ContPath" || { echo "Path error - skipping $i" ; continue ; } docker pull "$ContImage" ### Reformat for multi-compose: IFS=',' read -r -a Confs <<< "$ContConfigFile" ; unset IFS