chore(deps): bump gosettings and govalid

This commit is contained in:
Quentin McGaw
2023-05-27 08:52:41 +00:00
parent a43973c093
commit 75670a80b8
11 changed files with 16 additions and 35 deletions

View File

@@ -119,7 +119,7 @@ func (s *Source) readOpenVPNProcessUser() (processUser string, err error) {
if err != nil {
return "", fmt.Errorf("environment variable %s: %w", key, err)
}
if root {
if *root {
return "root", nil
}
const defaultNonRootUser = "nonrootuser"