diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-08 14:26:06 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-08 14:26:06 +0100 |
| commit | 990e50df4d26b54e35f56a54e06837fdf13f5019 (patch) | |
| tree | 45c8b970881ab60973bd2bf270aa2450af1573f5 /public/tools/ld/src/CommandLine.cc | |
| parent | 933b23c1d0564a2287601947ebadd651f50a16f9 (diff) | |
ADD: Great tweaks on tooling.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'public/tools/ld/src/CommandLine.cc')
| -rw-r--r-- | public/tools/ld/src/CommandLine.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/public/tools/ld/src/CommandLine.cc b/public/tools/ld/src/CommandLine.cc index 534fdb4e..dfd5709f 100644 --- a/public/tools/ld/src/CommandLine.cc +++ b/public/tools/ld/src/CommandLine.cc @@ -10,6 +10,9 @@ SInt32 main(SInt32 argc, Char* argv[]) { + if (argc < 3) + return ~0; + UIntPtr exit_code = RtlSpawnProcess(argv[1], argc - 2, argv + 2, nullptr, 0); |
