aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-12-07 18:32:06 +0000
committerMatthew Wild <mwild1@gmail.com>2009-12-07 18:32:06 +0000
commitb4eed8099cc3e3f445fb97f882ad207b0148abac (patch)
tree5576e9c756a958cc4e395ab44fa2f5906a196a6d
parentb041ac5805169cc70f5b7de4f8e95b5d31c387d9 (diff)
downloadprosody-b4eed8099cc3e3f445fb97f882ad207b0148abac.tar.gz
prosody-b4eed8099cc3e3f445fb97f882ad207b0148abac.zip
prosody: Less strict matching for the magic 'interrupted' error
-rwxr-xr-xprosody2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosody b/prosody
index 1805e5b2..c3dd979a 100755
--- a/prosody
+++ b/prosody
@@ -302,7 +302,7 @@ end
function loop()
-- Error handler for errors that make it this far
local function catch_uncaught_error(err)
- if type(err) == "string" and err:match("%d*: interrupted!$") then
+ if type(err) == "string" and err:match("interrupted!$") then
return "quitting";
end