From eab0c97a968cc4c0aa77c61185df25884a99357f Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 9 Mar 2025 05:17:07 +0100 Subject: ADD: Fixes and tweaks of CLI programs. Signed-off-by: Amlal El Mahrouss --- public/tools/ld/src/CommandLine.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'public/tools/ld/src/CommandLine.cc') 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; } -- cgit v1.2.3