summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-09-03 17:57:46 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-09-03 17:57:46 +0200
commitddb59757f5e4a6c30ede99a2d4f039e881132ab9 (patch)
tree2dbccf700970bdfaa13eaa260a08cb2b26696912 /src
parent8769aa6370cd6b4ebd7393c32519a04772f5bd29 (diff)
downloadpass-ddb59757f5e4a6c30ede99a2d4f039e881132ab9.tar.gz
pass-ddb59757f5e4a6c30ede99a2d4f039e881132ab9.tar.bz2
pass-ddb59757f5e4a6c30ede99a2d4f039e881132ab9.zip
Move examples into manpage.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/password-store.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/password-store.sh b/src/password-store.sh
index 2c6bd12..d9c139b 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -227,7 +227,7 @@ case "$command" in
fi
;;
git)
- if [[ -d $GIT ]]; then
+ if [[ $1 == "init" ]] || [[ -d $GIT ]]; then
exec git $@
else
echo "Error: the password store is not a git repository."