# HG changeset patch # User Kim Alvefur # Date 1431909223 -7200 # Node ID b3f048af2dfe47a56afa7ca0f66d454b6443d488 # Parent 2ee9725c7fc6bacd7d0847406500cb0aefdc901b mod_storage_xmlarchive: The last :seek() should return something truish, if not, don't ignore diff -r 2ee9725c7fc6 -r b3f048af2dfe mod_storage_xmlarchive/mod_storage_xmlarchive.lua --- a/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Sun May 17 17:17:26 2015 +0200 +++ b/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Mon May 18 02:33:43 2015 +0200 @@ -12,8 +12,7 @@ if not ok then return ok, msg; end - f:seek("set", offset); - return true; + return f:seek("set", offset); end; pcall(function() local pposix = require "util.pposix";