cmd/root: Rename a variable
https://github.com/containers/toolbox/pull/542
This commit is contained in:
parent
69cec92abb
commit
fac565bc33
1 changed files with 2 additions and 2 deletions
|
@ -232,9 +232,9 @@ func migrate() error {
|
|||
return fmt.Errorf("failed to create runtime directory %s", toolboxRuntimeDirectory)
|
||||
}
|
||||
|
||||
lockFile := toolboxRuntimeDirectory + "/migrate.lock"
|
||||
migrateLock := toolboxRuntimeDirectory + "/migrate.lock"
|
||||
|
||||
lockFD, err := syscall.Open(lockFile,
|
||||
lockFD, err := syscall.Open(migrateLock,
|
||||
syscall.O_CREAT|syscall.O_WRONLY,
|
||||
syscall.S_IRUSR|syscall.S_IWUSR|syscall.S_IRGRP|syscall.S_IWGRP|syscall.S_IROTH)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue