diff options
author | Rasmus Steinke <rasi@xssn.at> | 2017-11-18 20:34:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-18 20:34:02 +0100 |
commit | fd55958b7f00aa6d124c641d7be7590aeb7c6084 (patch) | |
tree | 2f05c79a3be3aa58e0b73ea5331db6aca6a1dd9a | |
parent | f1708decbd2cd632e8528ae8d1eecf9592d04975 (diff) | |
parent | 283a70768fd06ef6d503d0dad48fef95ed6683f1 (diff) | |
download | rofi-pass-fd55958b7f00aa6d124c641d7be7590aeb7c6084.tar.gz |
Merge pull request #105 from blueyed/checkIfPass-no-rm
checkIfPass: remove unnecessary `rm`
-rwxr-xr-x | rofi-pass | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -65,8 +65,7 @@ doClip () { } checkIfPass () { - rm -f "$HOME/.cache/rofi-pass/last_used" - printf '%s\n' "${root}: $selected_password" > "$HOME/.cache/rofi-pass/last_used" + printf '%s\n' "${root}: $selected_password" >| "$HOME/.cache/rofi-pass/last_used" } |