mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-04-19 23:11:22 +02:00
do not create WELLKNOWN directory, output error message if directory is missing
This commit is contained in:
@@ -155,7 +155,8 @@ init_system() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -e "${WELLKNOWN}" ]]; then
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user