oopoop
This commit is contained in:
@@ -77,7 +77,7 @@ func rename(oldpath, newpath string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := os.WriteFile(b, newpath, os.ModePerm); err != nil {
|
||||
if err := os.WriteFile(newpath, b, os.ModePerm); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user