aboutsummaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl')
-rw-r--r--fnl/settings.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/fnl/settings.fnl b/fnl/settings.fnl
index 0a4178c..c41ce5f 100644
--- a/fnl/settings.fnl
+++ b/fnl/settings.fnl
@@ -2,7 +2,7 @@
(lambda _get [_ key]
(local file (io.open (.. path key) :rb))
- (when (= file nil) nil)
+ (when (= file nil) (lua :return))
(local value (file:read :*a))
(io.close file)