diff --git a/mounter/mount.go b/mounter/mount.go index 455598f..b326df6 100644 --- a/mounter/mount.go +++ b/mounter/mount.go @@ -45,7 +45,7 @@ func ResolveRootDir(dir string) (string, error) { func (m *Mounter) MountSysProc() error { // mount -t proc proc {{rootDir}}/proc - if err := osutil.MountIfNotMounted("/proc", fp.Join(m.rootDir, "/proc"), "proc", ""); err != nil { + if err := mount.Mount("proc", fp.Join(m.rootDir, "/proc"), "proc", "remount"); err != nil { return errors.Errorf("Failed to mount /proc: %s", err) } // mount --rbind /sys {{rootDir}}/sys