mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-09-25 06:13:03 +02:00
Compare commits
9
Commits
1.3.0
..
708480f03f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
708480f03f | ||
|
|
ee46b5b7d0 | ||
|
|
a60a41f7f1 | ||
|
|
525c7a8113 | ||
|
|
0e579c19da | ||
|
|
c5cfe4bdbc | ||
|
|
da5da6d0b7 | ||
|
|
664e2c2e7c | ||
|
|
7e42e72bb2 |
@@ -1147,7 +1147,7 @@ func taskGetBrowserDevStatus() string {
|
|||||||
"sh",
|
"sh",
|
||||||
[]string{"-c", "systemctl --quiet is-active code-server@root && echo 'active' || echo 'inactive'"},
|
[]string{"-c", "systemctl --quiet is-active code-server@root && echo 'active' || echo 'inactive'"},
|
||||||
)
|
)
|
||||||
if browserDevStatus == "active" {
|
if browserDevStatus != "" {
|
||||||
fmt.Println("Browser Dev Environment is running")
|
fmt.Println("Browser Dev Environment is running")
|
||||||
utils.WriteOption("BROWSERDEV_STATUS", "running")
|
utils.WriteOption("BROWSERDEV_STATUS", "running")
|
||||||
return "{\"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(fmt.Sprint(err) + ": " + stderr.String()) // ... Silence...
|
||||||
}
|
}
|
||||||
|
|
||||||
// log.Println("Result: " + out.String()) // ... Silence ...
|
log.Println("Result: " + out.String()) // ... Silence ...
|
||||||
|
|
||||||
return strings.Trim(out.String(), " \n")
|
return strings.Trim(out.String(), " \n")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user