From ddb59757f5e4a6c30ede99a2d4f039e881132ab9 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 3 Sep 2012 17:57:46 +0200 Subject: Move examples into manpage. --- src/password-store.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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." -- cgit v1.2.3