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
commit3749647563e93a24171bab5b27a9af9efccd9259 (patch)
treed223c422abce9c7ecc639693ef206bac7125485b
parent36372b061c843ee6549a0deb7d4e8958dff257c6 (diff)
downloadprosody-3749647563e93a24171bab5b27a9af9efccd9259.tar.gz
prosody-3749647563e93a24171bab5b27a9af9efccd9259.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 e4d0c719..6df7428b 100755
--- a/prosody
+++ b/prosody
@@ -303,7 +303,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