aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/password-store.sh
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-09-24 00:49:17 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-09-24 00:49:17 +0200
commitec5eeec7445fe3d662ddd8e1df573931b9bb312c (patch)
tree3f61146fc0cf541d591086cde0bdc6514abda9f6 /src/password-store.sh
parentFix style. (diff)
downloadpassword-store-ec5eeec7445fe3d662ddd8e1df573931b9bb312c.tar.xz
password-store-ec5eeec7445fe3d662ddd8e1df573931b9bb312c.zip
Style fixes.1.4
Diffstat (limited to 'src/password-store.sh')
-rwxr-xr-xsrc/password-store.sh3
1 files changed, 2 insertions, 1 deletions
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"