SHA256
1
0
forked from pool/shadow
Michael Vetter 2022-08-24 14:58:41 +00:00 committed by Git OBS Bridge
parent b7b2971a9a
commit 2fcb52ebdf

View File

@ -120,7 +120,7 @@ Index: libmisc/copydir.c
+ * If the destination already exists do nothing.
+ * This is after the copy_dir above to still iterate into subdirectories.
+ */
+ if (fstatat(dst->dirfd, dst->name, &sb, AT_SYMLINK_NOFOLLOW) == -1) {
+ if (fstatat(dst->dirfd, dst->name, &sb, AT_SYMLINK_NOFOLLOW) != -1) {
+ return 0;
+ }
+