From 2f3826d88d9d4d73e772751a2ef058b870e69017 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Mon, 24 Sep 2018 12:58:51 +0100 Subject: [PATCH] Fix modification time restoration. --- tomb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tomb b/tomb index 51672f7..7612c0b 100755 --- a/tomb +++ b/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 }