if add source services_status.sh in check_services function it's print twice.
This commit is contained in:
Whispering Wind
2025-02-08 10:40:17 +03:30
committed by GitHub
parent 64ed92b4cf
commit 0b36a22f36

View File

@ -1,4 +1,5 @@
source /etc/hysteria/core/scripts/path.sh
source /etc/hysteria/core/scripts/services_status.sh
# Function to define colors
define_colors() {
@ -89,7 +90,7 @@ load_hysteria2_ips() {
}
check_services() {
source /etc/hysteria/core/scripts/services_status.sh
# source /etc/hysteria/core/scripts/services_status.sh
for service in "${services[@]}"; do
service_base_name=$(basename "$service" .service)