do not create WELLKNOWN directory, output error message if directory is missing

This commit is contained in:
Lukas Schauer
2015-12-16 13:03:48 +01:00
parent 6504a29a23
commit 5a29d1853e

View File

@@ -155,7 +155,8 @@ init_system() {
fi
if [[ ! -e "${WELLKNOWN}" ]]; then
mkdir -p "${WELLKNOWN}"
echo " + ERROR: WELLKNOWN directory doesn't exist, please create ${WELLKNOWN} and set appropriate permissions." >&2
exit 1
fi
}