changeset 1738:b3f048af2dfe

mod_storage_xmlarchive: The last :seek() should return something truish, if not, don't ignore
author Kim Alvefur <zash@zash.se>
date Mon, 18 May 2015 02:33:43 +0200
parents 2ee9725c7fc6
children 940a4ab75cec
files mod_storage_xmlarchive/mod_storage_xmlarchive.lua
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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";