From b9a07a4c5e4e7b2a825a71b331b75b88af2d5de1 Mon Sep 17 00:00:00 2001 From: Akuli Date: Sun, 10 Dec 2023 06:10:02 +0200 Subject: [PATCH] fix gitignore --- .gitignore | 1 - src/output.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 862ad24e..3454a4b0 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,6 @@ /mingw64.zip /mingw64-small.zip -jou_compiled *.dll *.exe diff --git a/src/output.c b/src/output.c index bf4ee7ba..375d9ebc 100644 --- a/src/output.c +++ b/src/output.c @@ -107,7 +107,7 @@ static void mkdir_exist_ok(const char *p) static void write_gitinore(const char *p) { char *filename = malloc_sprintf("%s/.gitignore", p); - if (access(filename, F_OK)) { + if (access(filename, F_OK) == 0) { free(filename); return; }