aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrofi-pass3
1 files changed, 1 insertions, 2 deletions
diff --git a/rofi-pass b/rofi-pass
index 0f3edc2..5668eef 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -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"
}