Forráskód Böngészése

LCOW: Fix OpenFile parameters

Signed-off-by: John Howard <jhoward@microsoft.com>
John Howard 7 éve
szülő
commit
141b9a7471
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      daemon/graphdriver/lcow/remotefs_file.go

+ 1 - 1
daemon/graphdriver/lcow/remotefs_file.go

@@ -33,7 +33,7 @@ func (l *lcowfs) OpenFile(path string, flag int, perm os.FileMode) (_ driver.Fil
 	flagStr := strconv.FormatInt(int64(flag), 10)
 	flagStr := strconv.FormatInt(int64(flag), 10)
 	permStr := strconv.FormatUint(uint64(perm), 8)
 	permStr := strconv.FormatUint(uint64(perm), 8)
 
 
-	commandLine := fmt.Sprintf("%s %s %s %s", remotefs.RemotefsCmd, remotefs.OpenFileCmd, flagStr, permStr)
+	commandLine := fmt.Sprintf("%s %s %s %s %s", remotefs.RemotefsCmd, remotefs.OpenFileCmd, path, flagStr, permStr)
 	env := make(map[string]string)
 	env := make(map[string]string)
 	env["PATH"] = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:"
 	env["PATH"] = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:"
 	processConfig := &hcsshim.ProcessConfig{
 	processConfig := &hcsshim.ProcessConfig{