about summary refs log tree commit diff
path: root/locale/programs/ld-numeric.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/ld-numeric.c')
-rw-r--r--locale/programs/ld-numeric.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/locale/programs/ld-numeric.c b/locale/programs/ld-numeric.c
index 22943f30ee..b35e6d60f5 100644
--- a/locale/programs/ld-numeric.c
+++ b/locale/programs/ld-numeric.c
@@ -97,7 +97,9 @@ numeric_finish (struct localedef_t *locale, struct charmap_t *charmap)
 	 empty one.  */
       if (numeric == NULL)
 	{
-	  error (0, 0, _("No definition for %s category found"), "LC_NUMERIC");
+	  if (! be_quiet)
+	    error (0, 0, _("No definition for %s category found"),
+		   "LC_NUMERIC");
 	  numeric_startup (NULL, locale, 0);
 	  numeric = locale->categories[LC_NUMERIC].numeric;
 	  nothing = 1;