Skip to content

Commit b68a8da

Browse files
committed
Do not allow users to delete the tls directory
1 parent a421dbf commit b68a8da

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎plugins/apps/commands‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ case "$1" in
3333
exit 1
3434
fi
3535

36+
if [[ "$APP" == "tls" ]]; then
37+
echo "Unable to destroy tls directory"
38+
exit 1
39+
fi
40+
3641
echo " ! WARNING: Potentially Destructive Action"
3742
echo " ! This command will destroy $APP (including all add-ons)."
3843
echo " ! To proceed, type \"$APP\""

0 commit comments

Comments
 (0)