about summary refs log tree commit diff
path: root/locale/programs/ld-measurement.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/ld-measurement.c')
-rw-r--r--locale/programs/ld-measurement.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/locale/programs/ld-measurement.c b/locale/programs/ld-measurement.c
index 610eb5e09c..c3dbf5f705 100644
--- a/locale/programs/ld-measurement.c
+++ b/locale/programs/ld-measurement.c
@@ -89,8 +89,9 @@ measurement_finish (struct localedef_t *locale, struct charmap_t *charmap)
 	 empty one.  */
       if (measurement == NULL)
 	{
-	  error (0, 0, _("No definition for %s category found"),
-		 "LC_MEASUREMENT");
+	  if (! be_quiet)
+	    error (0, 0, _("No definition for %s category found"),
+		   "LC_MEASUREMENT");
 	  measurement_startup (NULL, locale, 0);
 	  measurement = locale->categories[LC_MEASUREMENT].measurement;
 	  nothing = 1;