changeset 1288:8432d20a2729

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 31 Dec 2018 18:39:04 -0700
parents d9b86675be24
children 8d54bcc0b6d3
files src/luan/modules/Io.luan
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/luan/modules/Io.luan	Thu Dec 27 12:01:30 2018 -0700
+++ b/src/luan/modules/Io.luan	Mon Dec 31 18:39:04 2018 -0700
@@ -66,7 +66,7 @@
 	return try( {
 		function(...)
 			Io.stdout = out
-			fn(...)
+			return fn(...)
 		end;
 		finally = function()
 			Io.stdout = old_out