From 7120678a52ec6f809a8d3abc8356de92fbffcaf7 Mon Sep 17 00:00:00 2001 From: Rasmus Steinke Date: Tue, 14 Jul 2015 21:45:27 +0200 Subject: [PATCH] rely on --root in if statement --- rofi-pass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rofi-pass b/rofi-pass index 3be06b0..575eaa0 100755 --- a/rofi-pass +++ b/rofi-pass @@ -24,7 +24,7 @@ if [[ -z $BROWSER ]]; then export BROWSER=xdg-open fi -if [[ -n "$2" ]]; then +if [[ -n "$2" && "$1" == "--root" ]]; then root="${2}" else :