Skip to content

Commit

Permalink
🐛 Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cookiengineer committed Sep 16, 2024
1 parent f5e5e88 commit 25ee46d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/cmds/pacman-backup/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,11 @@ func main() {

if isFolder(config.Options.DBPath + "/sync") && isFolder(config.Options.CacheDir) {

// if isRootUser() {
if isRootUser() {
actions.Cleanup(config.Options.DBPath + "/sync", config.Options.CacheDir)
//} else {
// console.Error("Please execute this command as the root user")
//}
} else {
console.Error("Please execute this command as the root user")
}

}

Expand Down

0 comments on commit 25ee46d

Please sign in to comment.