diff --git a/internal/tasks/tasks.go b/internal/tasks/tasks.go index b8e4023..328d181 100644 --- a/internal/tasks/tasks.go +++ b/internal/tasks/tasks.go @@ -1147,7 +1147,7 @@ func taskGetBrowserDevStatus() string { "sh", []string{"-c", "systemctl --quiet is-active code-server@root && echo 'active' || echo 'inactive'"}, ) - if browserDevStatus != "" { + if browserDevStatus == "active" { fmt.Println("Browser Dev Environment is running") utils.WriteOption("BROWSERDEV_STATUS", "running") return "{\"status\": \"running\"}"