From 3e60468d476b6f918e52dedd1b7321ca76a95e9b Mon Sep 17 00:00:00 2001 From: mag37 Date: Wed, 1 Mar 2023 20:43:06 +0100 Subject: [PATCH] urgent and another fix. --- dockcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockcheck.sh b/dockcheck.sh index a8565d8..965d794 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 "${ComposeFile}")" || { echo "Path error - skipping $i" ; continue ; } + cd "$(dirname "${ContPath}")" || { echo "Path error - skipping $i" ; continue ; } docker pull "$ContImage" ### Reformat for multi-compose: IFS=',' read -r -a Confs <<< "$ContConfigFile" ; unset IFS