Second round of fixes

This commit is contained in:
2025-09-28 02:25:29 -04:00
parent f84f304466
commit 0b398e789f
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ func managePackage(action, targetPackage string) {
func writeFile(path, data, owner string, perms os.FileMode) {
err := os.WriteFile(path, []byte(data), perms)
if err != nil {
other.PrintError("Failed to write to "+path, 1)
other.PrintError("Failed to write to "+path+":"+err.Error(), 1)
}
if owner != "root" {
userInfo, err := user.Lookup(owner)