]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Ignore `directory has vanished` errors.
authorJeremy Norris <jeremy.norris@lbnetworks.co>
Wed, 12 Mar 2025 15:09:57 +0000 (10:09 -0500)
committerAndrew Tridgell <andrew@tridgell.net>
Sat, 23 Aug 2025 07:31:52 +0000 (17:31 +1000)
support/rsync-no-vanished

index b31a5d210fef8e4b3f052f56eb9258aea553f350..892c90baa2b17bcca72e3ea692327f2875882abc 100755 (executable)
@@ -2,7 +2,7 @@
 
 REAL_RSYNC=/usr/bin/rsync
 IGNOREEXIT=24
-IGNOREOUT='^(file has vanished: |rsync warning: some files vanished before they could be transferred)'
+IGNOREOUT='^((file|directory) has vanished: |rsync warning: some files vanished before they could be transferred)'
 
 # If someone installs this as "rsync", make sure we don't affect a server run.
 for arg in "${@}"; do