Skip to content

Commit

Permalink
fix swallowed error in keytab load
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmturner committed Jan 28, 2019
1 parent 9279182 commit 7f2f22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keytab/keytab.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func Load(ktPath string) (*Keytab, error) {
return kt, err
}
err = kt.Unmarshal(b)
return kt, nil
return kt, err
}

// Marshal keytab into byte slice
Expand Down

0 comments on commit 7f2f22b

Please sign in to comment.