Skip to content

Commit

Permalink
keys: clarify error message
Browse files Browse the repository at this point in the history
Signed-off-by: Morten Linderud <[email protected]>
  • Loading branch information
Foxboron committed Jul 29, 2024
1 parent dadbfcf commit fbc6156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func SignFile(state *config.State, kh *backend.KeyHierarchy, ev hierarchy.Hierar
// We want to write the file back with correct permissions
si, err := state.Fs.Stat(file)
if err != nil {
return fmt.Errorf("failed signing file: %w", err)
return fmt.Errorf("failed stat of file: %w", err)
}

peFile, err := state.Fs.Open(file)
Expand Down

0 comments on commit fbc6156

Please sign in to comment.