master
bel 2024-12-20 20:39:55 -07:00
parent c17e61a6ca
commit 9539d54145
1 changed files with 1 additions and 1 deletions

View File

@ -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
}