mirror of
https://github.com/dokku/dokku.git
synced 2026-02-23 19:50:34 +01:00
Do not allow users to delete the tls directory
This commit is contained in:
@@ -33,6 +33,11 @@ case "$1" in
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ "$APP" == "tls" ]]; then
|
||||
echo "Unable to destroy tls directory"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo " ! WARNING: Potentially Destructive Action"
|
||||
echo " ! This command will destroy $APP (including all add-ons)."
|
||||
echo " ! To proceed, type \"$APP\""
|
||||
|
||||
Reference in New Issue
Block a user