From 2f52a30c8cf9d316c6a60ed9cfeb7e7ca4c3e72a Mon Sep 17 00:00:00 2001 From: ProBackup-nl Date: Sat, 10 Dec 2016 20:38:33 +0100 Subject: [PATCH] remove -h from touch in func_tarb touch -h is not available in busybox touch --- trunk/user/scripts/mtd_storage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/user/scripts/mtd_storage.sh b/trunk/user/scripts/mtd_storage.sh index 5c7f40a93c..daa5964380 100755 --- a/trunk/user/scripts/mtd_storage.sh +++ b/trunk/user/scripts/mtd_storage.sh @@ -64,7 +64,7 @@ func_tarb() { rm -f $tmp cd $dir_storage - find * -print0 | xargs -0 touch -c -h -t 201001010000.00 + find * -print0 | xargs -0 touch -c -t 201001010000.00 find * ! -type d -print0 | sort -z | xargs -0 tar -cf $tmp 2>/dev/null cd - >>/dev/null if [ ! -f "$tmp" ] ; then