Skip to content

Commit

Permalink
Update InitClient() not to fail if $HOME is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
jhiemstrawisc committed Oct 13, 2023
1 parent 97a3dd5 commit 6f0b8d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ func InitClient() error {
} else {
configBase, err := getConfigBase()
if err != nil {
return err
log.Warningln("No home directory found for user -- will check for configuration yaml in /etc/pelican/")
}
viper.SetDefault("IssuerKey", filepath.Join(configBase, "issuer.jwk"))
}
Expand Down

0 comments on commit 6f0b8d2

Please sign in to comment.