about summary refs log tree commit diff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/programs/locarchive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/locarchive.c b/locale/programs/locarchive.c
index e95bcf1a14..943bc5a6de 100644
--- a/locale/programs/locarchive.c
+++ b/locale/programs/locarchive.c
@@ -1210,7 +1210,7 @@ add_locale_to_archive (ah, name, data, replace)
 						     &rhs_territory,
 						     &rhs_codeset,
 						     &rhs_normalized_codeset);
-		    if (rhs_mask == 1)
+		    if (rhs_mask == -1)
 		      {
 			result = -1;
 			goto out;