mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-11-13 03:49:47 +01:00
Update internal/utils/utils.go
Thanks @inverse ! Co-authored-by: Malachi Soord <[email protected]>
This commit is contained in:
co-authored by
Malachi Soord
parent
a33a6f5e84
commit
b6bf06172c
@@ -189,7 +189,7 @@ func WriteOption(optionKey string, optionValue string) {
|
|||||||
db.Close()
|
db.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
// IsSystemReady : Checks hability of the service to execute commands (Only after "edgebox --build" is ran at least once via SSH, or if built for distribution)
|
// IsSystemReady : Checks readiness of the service to execute commands (Only after "edgebox --build" is ran at least once via SSH, or if built for distribution)
|
||||||
func IsSystemReady() bool {
|
func IsSystemReady() bool {
|
||||||
_, err := os.Stat(GetPath("wsPath") + ".ready")
|
_, err := os.Stat(GetPath("wsPath") + ".ready")
|
||||||
return !os.IsNotExist(err)
|
return !os.IsNotExist(err)
|
||||||
|
|||||||
Reference in New Issue
Block a user