summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gitano-command.cgi.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/gitano-command.cgi.in b/bin/gitano-command.cgi.in
index 59995b2..7e6efd6 100755
--- a/bin/gitano-command.cgi.in
+++ b/bin/gitano-command.cgi.in
@@ -38,7 +38,7 @@ if os.getenv("QUERY_STRING") then
if not e then
stdout:write("Status: 400 Bad request\r\n\r\n")
- stdout:write("Malformed command line, format: ?cmd=arg0 arg1 ... argn\n")
+ stdout:write("FATAL: " .. gitano.i18n.expand("ERROR_NO_COMMAND") .. "\n")
return
end
@@ -46,7 +46,7 @@ if os.getenv("QUERY_STRING") then
if cmdline == '' then
stdout:write("Status: 400 Bad request\r\n\r\n")
- stdout:write("Malformed command line, format: ?cmd=arg0 arg1 ... argn\n")
+ stdout:write("FATAL: " .. gitano.i18n.expand("ERROR_NO_COMMAND") .. "\n")
return
end
@@ -76,5 +76,5 @@ if os.getenv("QUERY_STRING") then
gitano.log.syslog.close()
else
stdout:write("Status: 400 Bad request\r\n\r\n")
- stdout:write("Malformed command line, format: ?cmd=arg0 arg1 ... argn\n")
+ stdout:write("FATAL: " .. gitano.i18n.expand("ERROR_NO_COMMAND") .. "\n")
end