summaryrefslogtreecommitdiff
path: root/locale/programs/ld-name.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/ld-name.c')
-rw-r--r--locale/programs/ld-name.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/locale/programs/ld-name.c b/locale/programs/ld-name.c
index 9419fdd4e3..39ab22c2f7 100644
--- a/locale/programs/ld-name.c
+++ b/locale/programs/ld-name.c
@@ -90,7 +90,8 @@ name_finish (struct localedef_t *locale, struct charmap_t *charmap)
empty one. */
if (name == NULL)
{
- error (0, 0, _("No definition for %s category found"), "LC_NAME");
+ if (! be_quiet)
+ error (0, 0, _("No definition for %s category found"), "LC_NAME");
name_startup (NULL, locale, 0);
name = locale->categories[LC_NAME].name;
nothing = 1;