mirror of https://github.com/jetkvm/kvm.git
fix: symlink direction
This commit is contained in:
parent
aa9d78998f
commit
ae77887ab2
|
|
@ -137,7 +137,7 @@ func ensureSymlink(dst, src string) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
_ = os.Remove(dst)
|
_ = os.Remove(dst)
|
||||||
return os.Symlink(src, dst)
|
return os.Symlink(dst, src)
|
||||||
}
|
}
|
||||||
|
|
||||||
func renameFile(f *os.File, newName string) error {
|
func renameFile(f *os.File, newName string) error {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue