mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-06-19 02:22:42 +00:00
Fix modification time restoration.
This commit is contained in:
parent
aaa4637ed0
commit
2f3826d88d
2
tomb
2
tomb
|
@ -206,7 +206,7 @@ _restore_stat() {
|
|||
stats=("${(@s.:.)stat}")
|
||||
_verbose "Restoring access and modification time for ::1 file::" $file
|
||||
[[ -z "${stats[1]}" ]] || touch -a --date="@${stats[1]}" "$file"
|
||||
[[ -z "${stats[2]}" ]] || touch -m --date="@${stats[1]}" "$file"
|
||||
[[ -z "${stats[2]}" ]] || touch -m --date="@${stats[2]}" "$file"
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user