diff options
Diffstat (limited to 'locale')
-rw-r--r-- | locale/programs/localedef.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c index ba8572e9e5..37b52b08c6 100644 --- a/locale/programs/localedef.c +++ b/locale/programs/localedef.c @@ -461,7 +461,7 @@ construct_output_path (char *path) errno = 0; - if (euidaccess (result, W_OK) == -1) + if (no_archive && euidaccess (result, W_OK) == -1) /* Perhaps the directory does not exist now. Try to create it. */ if (errno == ENOENT) { |