mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-08-18 07:11:45 +00:00
fix typo
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user