aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index caeafd7..e63b883 100644
--- a/main.go
+++ b/main.go
@@ -66,6 +66,8 @@ func run() error {
return err
}
+ state.RemoveUndue()
+
if success := state.Fetch(); success == 0 {
return fmt.Errorf("No successfull feed fetch.")
}
d to strip the .gpg extension from symlinks as well. Example output of `pass find site1` or `pass | grep site1` before this commit: site1.job.com.gpg -> site2.job.com and after: site1.job.com -> site2.job.com 2015-01-19clip: Show an error message if xclip returns a non-zero exit codeWieland Hoffmann1-3/+2 xclip will return a non-zero exit code if $DISPLAY is not set, which might happen, for example, if you're running pass in a tmux session remotely or something like that. xclip itself will also show an error message ("Can't open display") which provides enough context to figure out what the problem is. There might be other reasons for xclip to return a non-zero exit code, but the man page doesn't list them. 2015-01-19Correct path for top level grepJason A. Donenfeld1-2/+3