1
0
mirror of https://github.com/rancher/os.git synced 2025-09-12 21:23:13 +00:00

add a timeout in case a system-container refuses to quit

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-07-28 13:27:40 +10:00
parent 67d932d9f8
commit c8915d646d
6 changed files with 69 additions and 17 deletions

View File

@@ -138,9 +138,6 @@ func Shutdown() {
//TODO: add the time and msg flags...
app.HideHelp = true
log.Infof("%s, %s", app.Usage, app.Version)
fmt.Printf("%s, %s", app.Usage, app.Version)
app.Run(os.Args)
}