summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richardipsum@fastmail.co.uk>2014-05-04 13:50:58 +0100
committerRichard Ipsum <richardipsum@fastmail.co.uk>2014-05-04 13:50:58 +0100
commit800ec03542c7bc09afbddce9a2b01f94d615fce9 (patch)
tree5a85de10bfdc398392e3176df2382172b956d942
parent7035283011cf3bd7deec82a61475c9e8edb5491d (diff)
downloadgitano-800ec03542c7bc09afbddce9a2b01f94d615fce9.tar.gz
Make runcmd output "Unable to continue"
At the moment the test suite requires that certain errors produce "Unable to continue" on stderr
-rw-r--r--lib/gitano/util.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitano/util.lua b/lib/gitano/util.lua
index 5fc4ab1..ab8730a 100644
--- a/lib/gitano/util.lua
+++ b/lib/gitano/util.lua
@@ -29,6 +29,7 @@ local function run_command(cmd, cmdline, parsed_cmdline, user,
if how ~= "exit" or why ~= 0 then
log.critical("Error running " .. parsed_cmdline[1] .. ": " .. how)
+ log.critical("Unable to continue")
return why
else
log.syslog.info(cmdline, "completed successfully")