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