diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2018-05-24 11:04:37 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-05-24 11:04:37 +0000 |
commit | 2f8ab5851fb070fac82472cf8a3c8542a657ca01 (patch) | |
tree | c3c68f4ebc6539d2428268da1cba9dd39a1f42e7 /packages/docker | |
parent | a08e498c52e5f778ec85cb698ac985488319b9f3 (diff) | |
parent | ee033842018375e0200a9b8f2e0dc813974440fd (diff) |
Merge "Replace LOGPATH with LOGSUFFIX"
Diffstat (limited to 'packages/docker')
-rw-r--r-- | packages/docker/src/main/docker/docker-install.sh | 5 |
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 |