diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-09 05:17:07 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-09 05:17:07 +0100 |
| commit | eab0c97a968cc4c0aa77c61185df25884a99357f (patch) | |
| tree | 61559a978adf3ad05fdb2012b0ce1605a602c210 /public/tools/ld/src/CommandLine.cc | |
| parent | 5bf5213bc1f2adf5e3a9e707fb4026ded95fcc14 (diff) | |
ADD: Fixes and tweaks of CLI programs.
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 | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/public/tools/ld/src/CommandLine.cc b/public/tools/ld/src/CommandLine.cc index dfd5709f..6f2fc4a8 100644 --- a/public/tools/ld/src/CommandLine.cc +++ b/public/tools/ld/src/CommandLine.cc @@ -10,11 +10,7 @@ SInt32 main(SInt32 argc, Char* argv[]) { - if (argc < 3) - return ~0; + ConOut(nullptr, "LD: Either OpenCC or Aker's CC needs to be installed.\rLD: This program is present as a placeholder."); - UIntPtr exit_code = RtlSpawnProcess(argv[1], argc - 2, argv + 2, - nullptr, 0); - - return exit_code; + return EXIT_FAILURE; } |
