Fixed check for tasks.GetBrowserStatus()
parent
ee46b5b7d0
commit
623be87a84
|
@ -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\"}"
|
||||
|
|
Loading…
Reference in New Issue