summaryrefslogtreecommitdiff
path: root/Master/tlpkg/lib/C/tlp-src.c
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/lib/C/tlp-src.c')
-rw-r--r--Master/tlpkg/lib/C/tlp-src.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/tlpkg/lib/C/tlp-src.c b/Master/tlpkg/lib/C/tlp-src.c
index 457709c0076..a67aacbb74f 100644
--- a/Master/tlpkg/lib/C/tlp-src.c
+++ b/Master/tlpkg/lib/C/tlp-src.c
@@ -194,7 +194,9 @@ tlp_result tlp_src_process_line(tlp_src *src, tlp_str line,
if (tlp_str_start_with_bytes(line, tlp_src_fields[i].key))
return tlp_src_fields[i].func(line, src, started, file);
- return TLP_FAILED;
+ tlp_error_msg("%s: unknown tlpsrc directive, please fix: %s",
+ file, line);
+ return TLP_OK;
}
tlp_result tlp_src_get_name(tlp_str line,