Skip to content

Commit 9c18f03

Browse files
committed
pass: changed error message returned, if password-store is not initialized
Signed-off-by: [email protected] <[email protected]>
1 parent d6c1f13 commit 9c18f03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pass/pass_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func (p Pass) checkInitialized() error {
4949
// We just run a `pass ls`, if it fails then pass is not initialized.
5050
_, err := p.runPassHelper("", "ls")
5151
if err != nil {
52-
return fmt.Errorf("error initializing pass: %v", err)
52+
return fmt.Errorf("pass not initialized: %v", err)
5353
}
5454
passInitialized = true
5555
return nil

0 commit comments

Comments
 (0)