Compare commits

...

2 Commits

Author SHA1 Message Date
Paulo Truta 0358900b0d
Merge 623be87a84 into b11034dd17 2024-12-05 07:07:52 +00:00
Paulo Truta 623be87a84 Fixed check for tasks.GetBrowserStatus() 2024-12-05 08:07:48 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -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\"}"