summaryrefslogtreecommitdiff
path: root/tex/context/base/data-ini.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/data-ini.lua')
-rw-r--r--tex/context/base/data-ini.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/data-ini.lua b/tex/context/base/data-ini.lua
index 201c6a2d7..bbd233ae7 100644
--- a/tex/context/base/data-ini.lua
+++ b/tex/context/base/data-ini.lua
@@ -217,7 +217,7 @@ end
environment.texroot = file.collapsepath(texroot)
-if profiler then
+if type(profiler) == "table" and not jit then
directives.register("system.profile",function()
profiler.start("luatex-profile.log")
end)