From d3ab4b10e91989a5bb876e17f66fa18534cd1f41 Mon Sep 17 00:00:00 2001 From: Snorlax Date: Sun, 6 Feb 2022 14:28:52 +0800 Subject: [PATCH] fix typo --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 561f1e4..acc130b 100644 --- a/install.sh +++ b/install.sh @@ -304,8 +304,8 @@ start_hysteria() { } stop_hysteria() { - $HYSTERIA_CUSTOMIZE="$(systemctl list-units | grep 'hysteria@' | awk -F ' ' '{print $1}')" - if [[ -z "$VHYSTERIA_CUSTOMIZE" ]]; then + HYSTERIA_CUSTOMIZE="$(systemctl list-units | grep 'hysteria@' | awk -F ' ' '{print $1}')" + if [[ -z "$HYSTERIA_CUSTOMIZE" ]]; then local hysteria_daemon_to_stop='hysteria-server.service' else local hysteria_daemon_to_stop="$HYSTERIA_CUSTOMIZE"