yait

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 124a0f597bab3017ac7aa7c72183d5f9b1c39451
parent ca8e2b32fdf3b2326fd41986c5e4a429073faa1a
Author: vx-clutch <[email protected]>
Date:   Thu,  9 Oct 2025 18:12:49 -0400

save

Diffstat:
Msrc/yait.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/yait.c b/src/yait.c @@ -178,7 +178,8 @@ int main(int argc, char **argv) pdir[len] = '/'; pdir[len + 1] = '\0'; - fs_new(pdir); + if (fs_new(pdir) == -1 && errno != EEXIST) + fatalfa(errno); if (chdir(pdir)) fatalfa(errno);