diff options
author | vg <vg@devys.org> | 2019-03-12 22:51:34 +0100 |
---|---|---|
committer | vg <vg@devys.org> | 2019-03-12 22:51:34 +0100 |
commit | 4f38f2607bb78c9dbb5f2d8174ed8f615e019be3 (patch) | |
tree | 58da8cc06476aa5437758179c69a0428bb3e7b5e /gitcmd | |
parent | 1c6a4a206444ea23dd8c59949253f91dc84b3bd3 (diff) | |
download | ssh-git-only-4f38f2607bb78c9dbb5f2d8174ed8f615e019be3.tar.gz ssh-git-only-4f38f2607bb78c9dbb5f2d8174ed8f615e019be3.tar.bz2 ssh-git-only-4f38f2607bb78c9dbb5f2d8174ed8f615e019be3.zip |
add command context when bad command
Diffstat (limited to 'gitcmd')
-rwxr-xr-x | gitcmd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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') |