From b68a8da2ce480f57493994148183e0df000e4bc9 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 16 Nov 2014 13:00:07 -0500 Subject: [PATCH] Do not allow users to delete the tls directory --- plugins/apps/commands | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/apps/commands b/plugins/apps/commands index 770f772f4..b1a67d7b5 100755 --- a/plugins/apps/commands +++ b/plugins/apps/commands @@ -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\""