From ec5eeec7445fe3d662ddd8e1df573931b9bb312c Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 24 Sep 2012 00:49:17 +0200 Subject: Style fixes. --- src/password-store.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/password-store.sh b/src/password-store.sh index c8736e1..503bac4 100755 --- a/src/password-store.sh +++ b/src/password-store.sh @@ -209,7 +209,7 @@ case "$command" in path="$1" if [[ -d $PREFIX/$path ]]; then - if [[ $path == "" ]]; then + if [[ -z $path ]]; then echo "Password Store" else echo $path @@ -350,6 +350,7 @@ case "$command" in delete|rm|remove) recursive="" force=0 + opts="$($GETOPT -o rf -l recursive,force -n "$program" -- "$@")" err=$? eval set -- "$opts" -- cgit v1.2.3