aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2018-11-15 18:23:05 +0100
committerRasmus Steinke <rasi@xssn.at>2018-11-15 18:23:05 +0100
commit6d8c3290d19c3355b94ade01223fc50a4d98a11b (patch)
treed2318bc392af94deada03b3c70410819250dc892
parenta2232751291ed2ba3b8e7d0435fa00a931d9d890 (diff)
downloadrofi-pass-6d8c3290d19c3355b94ade01223fc50a4d98a11b.tar.gz
fix parsing of root variable. Fixes #150
-rwxr-xr-xrofi-pass2
1 files changed, 1 insertions, 1 deletions
diff --git a/rofi-pass b/rofi-pass
index 3834030..e252fcf 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -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