From 407219566985ef3f68a83bdcd348790c19a32afe Mon Sep 17 00:00:00 2001 From: sdohuajia <63113882+sdohuajia@users.noreply.github.com> Date: Fri, 11 Oct 2024 09:27:07 +0800 Subject: [PATCH] Update nexus.sh --- nexus.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/nexus.sh b/nexus.sh index 0ce7e0d..5155379 100644 --- a/nexus.sh +++ b/nexus.sh @@ -192,17 +192,6 @@ function delete_node() { read -p "按任意键返回主菜单" } -# 改进的状态逻辑函数 -function improved_status_logic() { - if sudo systemctl is-active --quiet $SERVICE_NAME.service; then - show_status "服务正在运行。" - else - show_status "获取服务状态失败。" - fi - - show_status "Nexus Prover 安装和服务设置完成!" -} - # 显示状态的函数 function show_status() { echo "\$1"