summaryrefslogtreecommitdiffstats
path: root/packages/docker
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2018-05-24 11:04:37 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-24 11:04:37 +0000
commit2f8ab5851fb070fac82472cf8a3c8542a657ca01 (patch)
treec3c68f4ebc6539d2428268da1cba9dd39a1f42e7 /packages/docker
parenta08e498c52e5f778ec85cb698ac985488319b9f3 (diff)
parentee033842018375e0200a9b8f2e0dc813974440fd (diff)
Merge "Replace LOGPATH with LOGSUFFIX"
Diffstat (limited to 'packages/docker')
-rw-r--r--packages/docker/src/main/docker/docker-install.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/docker/src/main/docker/docker-install.sh b/packages/docker/src/main/docker/docker-install.sh
index 8274c6f7b..7521f6064 100644
--- a/packages/docker/src/main/docker/docker-install.sh
+++ b/packages/docker/src/main/docker/docker-install.sh
@@ -329,6 +329,11 @@ function install_base() {
exit 1
fi
+ if ! /bin/mkdir -p "${POLICY_LOGS}" > /dev/null 2>&1; then
+ echo "error: aborting base installation: cannot create ${POLICY_LOGS}"
+ exit 1
+ fi
+
if ! /bin/mkdir -p "${POLICY_HOME}/logs/" > /dev/null 2>&1; then
echo "error: aborting base installation: cannot create ${POLICY_HOME}/logs/"
exit 1