aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvg <vg@devys.org>2019-03-12 22:51:34 +0100
committervg <vg@devys.org>2019-03-12 22:51:34 +0100
commit4f38f2607bb78c9dbb5f2d8174ed8f615e019be3 (patch)
tree58da8cc06476aa5437758179c69a0428bb3e7b5e
parent1c6a4a206444ea23dd8c59949253f91dc84b3bd3 (diff)
downloadssh-git-only-4f38f2607bb78c9dbb5f2d8174ed8f615e019be3.tar.gz
ssh-git-only-4f38f2607bb78c9dbb5f2d8174ed8f615e019be3.tar.bz2
ssh-git-only-4f38f2607bb78c9dbb5f2d8174ed8f615e019be3.zip
add command context when bad command
-rwxr-xr-xgitcmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitcmd b/gitcmd
index c751b9a..32d3670 100755
--- a/gitcmd
+++ b/gitcmd
@@ -48,4 +48,4 @@ elif command == 'git-receive-pack' and repository in repositories_rw:
elif command == 'ls':
lsexit_repositories(repositories_ro, [])
else:
- fail('Bad git command or inexistant repository or access denied')
+ fail(f'Bad command {command} or access denied')