commit e87b61d4c850001ddee1e2420e576c676887aa57
parent 78624bad54d6013f6c83a1a22e4ff1aa24e61df3
Author: Szymon Mikulicz <szymon.mikulicz@posteo.net>
Date: Sun, 15 Mar 2026 21:26:04 +0100
Fix no log bug
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.janet b/src/main.janet
@@ -95,7 +95,7 @@
(var prefix target)
(var builddir ".")
- (os/rm "./instowl.log")
+ (if (file/file-exists? "./instowl.log") (os/rm "./instowl.log"))
(while (not= state :exit)
(def logfile (file/open "./instowl.log" :a))