Browse Source

迭代优化升级代码

niujiuru 3 weeks ago
parent
commit
21089e114f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web-ui.service/web_handler.go

+ 1 - 1
web-ui.service/web_handler.go

@@ -88,7 +88,7 @@ func sshdStatusHandler(w http.ResponseWriter, r *http.Request) {
 		return
 	}
 
-	status := "🔴 YFKJ-SSHD"
+	status := noValue
 	cmd := exec.Command("systemctl", "is-active", "yfkj-sshd-mqtt-bridge.service")
 	if out, err := cmd.Output(); err == nil {
 		if strings.TrimSpace(string(out)) == "active" {