forked from pool/shadow
This commit is contained in:
parent
b7b2971a9a
commit
2fcb52ebdf
@ -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;
|
||||
+ }
|
||||
+
|
||||
|
Loading…
Reference in New Issue
Block a user