diff --git a/module/system/base/compile.scm b/module/system/base/compile.scm index d9abe9d08..4294daece 100644 --- a/module/system/base/compile.scm +++ b/module/system/base/compile.scm @@ -78,6 +78,7 @@ (with-throw-handler #t (lambda () (proc tmp) + (close-port tmp) (rename-file template filename)) (lambda args (delete-file template)))))))