]> Kevux Git Server - fll/commitdiff
Bugfix: Set error status when link target is an empty string.
authorKevin Day <kevin@kevux.org>
Tue, 21 Feb 2023 04:29:38 +0000 (22:29 -0600)
committerKevin Day <kevin@kevux.org>
Tue, 21 Feb 2023 04:29:38 +0000 (22:29 -0600)
Also update the printed message.

level_3/fake/c/private-make-operate_validate_type.c

index 64d69b536c8f1d60d1e31e9da008bb4945f623c2..921f305347a097671a69890039c832d989fa76ab 100644 (file)
@@ -1164,8 +1164,10 @@ extern "C" {
         }
         else {
           if (data_make->error.verbosity != f_console_verbosity_quiet_e && data_make->error.to.stream) {
-            fll_print_format("%r%[%QTarget filename argument must not be an empty string.%]%r", data_make->error.to.stream, f_string_eol_s, data_make->error.context, data_make->error.prefix, data_make->error.context, f_string_eol_s);
+            fll_print_format("%r%[%QTarget file name argument must not be an empty string.%]%r", data_make->error.to.stream, f_string_eol_s, data_make->error.context, data_make->error.prefix, data_make->error.context, f_string_eol_s);
           }
+
+          status = F_status_set_error(F_failure);
         }
       }