diff options
author | Denis Kasak <dkasak@termina.org.uk> | 2017-07-14 18:47:37 +0200 |
---|---|---|
committer | Denis Kasak <dkasak@termina.org.uk> | 2017-07-14 22:57:50 +0200 |
commit | 516fcb6d39f48ae0bc6d833181e5d5faeb125412 (patch) | |
tree | cdaade81242f72d8c220f6c1d0e18387ae0e4f01 | |
parent | f0bd11bfa73d02a1f46a7933ca6f6f9a1c6ffd08 (diff) | |
download | rofi-pass-516fcb6d39f48ae0bc6d833181e5d5faeb125412.tar.gz |
Exit if cd fails.
-rwxr-xr-x | rofi-pass | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -542,7 +542,7 @@ listgpg () { insertPass () { url=$(xclip -o) - cd "${root}" + cd "${root}" || exit name="$(listgpg | rofi -dmenu -format 'f' -mesg "Type name, make sure it is unique" -p "> ")" # name="$(echo -e "$(list_passwords 2>/dev/null)" | rofi -dmenu -mesg "Type name, make sure it is unique" -p "> ")" val=$? |