Skip to content

Commit

Permalink
Fix err check
Browse files Browse the repository at this point in the history
  • Loading branch information
tlbdk committed Jul 27, 2020
1 parent de05c47 commit 5d821b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/authwrapper/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ func main() {
var lifetime time.Duration = time.Hour * 1
if config.SSHSigningLifetime != "" {
lifetime, err = time.ParseDuration(config.SSHSigningLifetime)
log.Fatalf(": %v", err)
if err != nil {
log.Fatalf(": %v", err)
}
}

caPublickey, err := startSigningServer(
Expand Down

0 comments on commit 5d821b1

Please sign in to comment.