diff options
author | Rasmus Steinke <rasi@xssn.at> | 2018-11-15 18:23:05 +0100 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2018-11-15 18:23:05 +0100 |
commit | 6d8c3290d19c3355b94ade01223fc50a4d98a11b (patch) | |
tree | d2318bc392af94deada03b3c70410819250dc892 | |
parent | a2232751291ed2ba3b8e7d0435fa00a931d9d890 (diff) | |
download | rofi-pass-6d8c3290d19c3355b94ade01223fc50a4d98a11b.tar.gz |
fix parsing of root variable. Fixes #150
-rwxr-xr-x | rofi-pass | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -816,7 +816,7 @@ main () { elif [[ -n "$2" && "$1" == "--root" ]]; then custom_root=true; IFS=: read -r -a roots <<< "$2" elif [[ -n $root ]]; then - roots=("${root}") + custom_root=true; IFS=: read -r -a roots <<< "${root}" elif [[ -n ${PASSWORD_STORE_DIR} ]]; then roots=("${PASSWORD_STORE_DIR}") else |