aboutsummaryrefslogtreecommitdiff
path: root/gitosis
diff options
context:
space:
mode:
authorTommi Virtanen <tv@inoi.fi>2007-08-11 16:29:25 -0700
committerTommi Virtanen <tv@eagain.net>2007-08-11 17:28:52 -0700
commit2a7f48f06e52f091bb0feab4021a173e2c53a1db (patch)
tree6f221345da4d89dd7880a3ebae813a99cb34aade /gitosis
parentFail if gitosis-serve can't read the config file. (diff)
downloadgitosis-dakkar-2a7f48f06e52f091bb0feab4021a173e2c53a1db.tar.gz
gitosis-dakkar-2a7f48f06e52f091bb0feab4021a173e2c53a1db.tar.bz2
gitosis-dakkar-2a7f48f06e52f091bb0feab4021a173e2c53a1db.zip
Make access denied message harder to confuse with system errors.
Diffstat (limited to 'gitosis')
-rw-r--r--gitosis/serve.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitosis/serve.py b/gitosis/serve.py
index 496f942..40a2141 100644
--- a/gitosis/serve.py
+++ b/gitosis/serve.py
@@ -102,7 +102,7 @@ def main():
path=path)
if newpath is None:
- die("Access denied.")
+ die("Read access denied.")
if command in COMMANDS_WRITE:
# didn't have write access and tried to write