commit: 93ded7b289a7e3d42c39061b29b462e0b59a26c6
parent db813f5e986a219318cf747e17b1a19fb6849012
Author: Andrius Štikonas <andrius@stikonas.eu>
Date: Mon, 13 Mar 2023 20:37:13 +0000
Merge pull request #265 from bittorf/master
cosmetic fix for --force-timestamps, avoid touching other filesystems
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysa/helpers.sh b/sysa/helpers.sh
@@ -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() {