1
0
mirror of https://github.com/rancher/os.git synced 2025-09-12 04:01:20 +00:00

Fix more issues with state management

This commit is contained in:
Darren Shepherd
2015-02-16 22:27:32 -07:00
parent 76e5cf8d50
commit b0c332f510
3 changed files with 7 additions and 7 deletions

View File

@@ -4,6 +4,7 @@ import (
"os"
"os/exec"
"path"
"syscall"
log "github.com/Sirupsen/logrus"
dockerClient "github.com/fsouza/go-dockerclient"
@@ -186,10 +187,11 @@ func sysInit() error {
initFuncs := []config.InitFunc{
loadImages,
runContainers,
//func(cfg *config.Config) error {
// syscall.Sync()
// return nil
//},
func(cfg *config.Config) error {
//TODO: not totally sure why we need this.
syscall.Sync()
return nil
},
//launchConsole,
}