1
0
mirror of https://github.com/skeeto/w64devkit.git synced 2026-01-03 23:02:27 +03:00

peports: Properly track the exit status on errors

Fixes #263.
This commit is contained in:
Christopher Wellons
2025-08-09 08:37:45 -04:00
parent 576676338c
commit 47cd41b1b7

View File

@@ -563,7 +563,7 @@ static b32 peports(i32 argc, s8 *argv, arena scratch)
print(err, argv[i]); // NOTE: UTF-8
print(err, s8("\n"));
flush(err);
ok &= 1;
ok = 0;
continue;
}
processpath(argv[i], conf, scratch);