mirror of
https://github.com/willfarrell/docker-autoheal.git
synced 2024-12-06 19:16:20 +01:00
Only make tmp dir if it doesn't exist #6
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ TMP_DIR=/tmp/restart
|
||||
|
||||
if [ "$1" = 'autoheal' ] && [ -e ${DOCKER_SOCK} ]; then
|
||||
|
||||
mkdir $TMP_DIR
|
||||
mkdir -p $TMP_DIR
|
||||
|
||||
# https://docs.docker.com/engine/api/v1.25/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user