From a69d716f9234e36429e2723dc06c50f24f79eaa3 Mon Sep 17 00:00:00 2001 From: donggg <771281703@qq.com> Date: Sun, 21 May 2023 11:39:25 +0000 Subject: [PATCH] aa --- cns.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cns.sh b/cns.sh index 2bcce1c..3c89ec4 100644 --- a/cns.sh +++ b/cns.sh @@ -126,7 +126,7 @@ Install() { sleep 3 InstallInit InstallFiles - "${cns_install_dir}/cns.init" start|grep -q FAILED && "${cns_install_dir}/cns.init" restart|grep -q FAILED && Error "cns install failed." + "${cns_install_dir}/cns.init" start|grep -q FAILED && "${cns_install_dir}/cns.init" start|grep -q FAILED && Error "cns install failed." type systemctl && [ -z "$(systemctl --failed|grep -q 'Host is down')" ] && systemctl restart cns echo $echo_e_arg \ "\033[44;37mcns install success.\033[0;34m