From 2082198b3618ba3c319952825e5f1b6510c562f2 Mon Sep 17 00:00:00 2001 From: Jaromil Date: Mon, 13 May 2024 01:17:23 +0200 Subject: [PATCH] remove unnecessary flag from maphash sha256 --- tomb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tomb b/tomb index d9380b0..35473be 100755 --- a/tomb +++ b/tomb @@ -694,7 +694,7 @@ is_valid_tomb() { _failure "Tomb won't work without a TOMBNAME." # checks if Tomb already mounted (or we cannot alter it) - local maphash=`realpath $TOMBPATH | sha256sum -z` + local maphash=`realpath $TOMBPATH | sha256sum` lo_mount # fills TOMBLOOP with next loop TOMBMAPPER="tomb.$TOMBNAME.${maphash[(w)1]}.`basename $TOMBLOOP`" local mounted_tombs=(`list_tomb_mounts`)