mirror of
https://github.com/rancher/os.git
synced 2025-07-13 14:44:03 +00:00
Merge pull request #700 from ibuildthecloud/close
Close file in wait for network
This commit is contained in:
commit
7252a543f2
@ -73,8 +73,10 @@ func Main() {
|
||||
log.Error(err)
|
||||
}
|
||||
}
|
||||
if _, err := os.Create(NETWORK_DONE); err != nil {
|
||||
if f, err := os.Create(NETWORK_DONE); err != nil {
|
||||
log.Error(err)
|
||||
} else {
|
||||
f.Close()
|
||||
}
|
||||
sendTerm(WAIT_FOR_NETWORK)
|
||||
select {}
|
||||
|
Loading…
Reference in New Issue
Block a user