fix(install_server.sh): userdel missing -r

This commit is contained in:
Haruue Icymoon 2022-11-28 12:11:16 +08:00
parent 249af28506
commit 960a380521
No known key found for this signature in database
GPG Key ID: F6083B28CBCBC148

View File

@ -911,7 +911,7 @@ perform_remove() {
echo -e "You still need to remove configuration files and ACME certificates manually with the following commands:"
echo
echo -e "\t$(tred)rm -rf "$CONFIG_DIR"$(treset)"
echo -e "\t$(tred)userdel -f "$HYSTERIA_USER"$(treset)"
echo -e "\t$(tred)userdel -rf "$HYSTERIA_USER"$(treset)"
if [[ "x$FORCE_NO_SYSTEMD" != "x2" ]]; then
echo
echo -e "You still might need to disable all related systemd services with the following commands:"