niujiuru пре 3 недеља
родитељ
комит
21089e114f
1 измењених фајлова са 1 додато и 1 уклоњено
  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" {