fix(show_uri): Comment out service active check for hysteria-server

This commit is contained in:
ReturnFI
2025-11-25 19:35:44 +00:00
parent e0ed155097
commit 81414c0e76

View File

@ -130,9 +130,9 @@ def show_uri(args: argparse.Namespace) -> None:
print("\033[0;31mError:\033[0m Database connection failed.") print("\033[0;31mError:\033[0m Database connection failed.")
return return
if not is_service_active("hysteria-server.service"): # if not is_service_active("hysteria-server.service"):
print("\033[0;31mError:\033[0m Hysteria2 is not active.") # print("\033[0;31mError:\033[0m Hysteria2 is not active.")
return # return
try: try:
with open(CONFIG_FILE, 'r') as f: with open(CONFIG_FILE, 'r') as f: