aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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