diff options
Diffstat (limited to 'tools/gpgtar-extract.c')
-rw-r--r-- | tools/gpgtar-extract.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gpgtar-extract.c b/tools/gpgtar-extract.c index bc2e672de..e690dde7a 100644 --- a/tools/gpgtar-extract.c +++ b/tools/gpgtar-extract.c @@ -198,6 +198,8 @@ extract_directory (const char *dirname, tar_header_t hdr, strlist_t exthdr) { *p = 0; rc = gnupg_mkdir (fname, "-rwx------"); + if (gpg_err_code (rc) == GPG_ERR_EEXIST) + rc = 0; *p = '/'; if (rc) break; |