Skip to content

Commit

Permalink
ignore owner if there was an error retrieving it
Browse files Browse the repository at this point in the history
  • Loading branch information
markusressel committed Nov 6, 2022
1 parent 47131e8 commit 84d4b53
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ func RunDaemon() {
owner, err := getProcessOwner()
if err != nil {
ui.Warning("Unable to verify process owner: %v", err)
}
if owner != "root" {
} else if owner != "root" {
ui.Info("fan2go is running as a non-root user '%s'. If you encounter errors, make sure to give this user the required permissions.", owner)
}

Expand Down

0 comments on commit 84d4b53

Please sign in to comment.