From 6d8c3290d19c3355b94ade01223fc50a4d98a11b Mon Sep 17 00:00:00 2001 From: Rasmus Steinke Date: Thu, 15 Nov 2018 18:23:05 +0100 Subject: fix parsing of root variable. Fixes #150 --- rofi-pass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit