Replace LOGPATH with LOGSUFFIX
[policy/engine.git] / packages / docker / src / main / docker / docker-install.sh
index 8274c6f..7521f60 100644 (file)
@@ -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