1
0
mirror of https://github.com/rancher/os.git synced 2025-09-07 01:31:06 +00:00

fix current console detection

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-07-14 18:05:57 +10:00
parent d9d3c2b0d8
commit 6fcc1e3967
5 changed files with 44 additions and 24 deletions

View File

@@ -22,6 +22,7 @@ const (
)
func dockerInitAction(c *cli.Context) error {
// TODO: this should be replaced by a "Console ready event watcher"
for {
if _, err := os.Stat(consoleDone); err == nil {
break