aboutsummaryrefslogtreecommitdiff
path: root/src/compile/statements.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compile/statements.c')
-rw-r--r--src/compile/statements.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compile/statements.c b/src/compile/statements.c
index 82a91a5e..af6a5223 100644
--- a/src/compile/statements.c
+++ b/src/compile/statements.c
@@ -207,7 +207,7 @@ static Text_t _compile_statement(env_t *env, ast_t *ast) {
if (glob(String(TOMO_PREFIX "/lib/tomo_" TOMO_VERSION "/", folder, "/[!._0-9]*.tm"), GLOB_TILDE, NULL,
&tm_files)
!= 0) {
- if (!try_install_module(mod)) code_err(ast, "Could not find library");
+ if (!try_install_module(mod, true)) code_err(ast, "Could not find library");
}
Text_t initialization = EMPTY_TEXT;