mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-06-15 00:39:52 +00:00
fix typo
This commit is contained in:
parent
e69b9b1faa
commit
d3ab4b10e9
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user