Merge pull request #265 from bittorf/master

cosmetic fix for --force-timestamps, avoid touching other filesystems
This commit is contained in:
Andrius Štikonas 2023-03-13 20:37:13 +00:00 committed by GitHub
commit 93ded7b289
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ default() {
# This function needs `touch` that supports --no-dereference
# (at least coreutils 8.1).
canonicalise_all_files_timestamp() {
find / -exec touch --no-dereference -t 197001010000.00 {} +
find / -xdev -exec touch --no-dereference -t 197001010000.00 {} +
}
populate_device_nodes() {