mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-09-25 06:13:03 +02:00
Compare commits
1
Commits
708480f03f
..
1.3.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e80aaf7d18 |
@@ -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\"}"
|
||||
|
||||
@@ -54,7 +54,7 @@ func Exec(path string, command string, args []string) string {
|
||||
// log.Println(fmt.Sprint(err) + ": " + stderr.String()) // ... Silence...
|
||||
}
|
||||
|
||||
log.Println("Result: " + out.String()) // ... Silence ...
|
||||
// log.Println("Result: " + out.String()) // ... Silence ...
|
||||
|
||||
return strings.Trim(out.String(), " \n")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user