mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-25 14:17:41 +00:00
remove unnecessary flag from maphash sha256
This commit is contained in:
parent
552dc82fe3
commit
2082198b36
2
tomb
2
tomb
@ -694,7 +694,7 @@ is_valid_tomb() {
|
|||||||
_failure "Tomb won't work without a TOMBNAME."
|
_failure "Tomb won't work without a TOMBNAME."
|
||||||
|
|
||||||
# checks if Tomb already mounted (or we cannot alter it)
|
# 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
|
lo_mount # fills TOMBLOOP with next loop
|
||||||
TOMBMAPPER="tomb.$TOMBNAME.${maphash[(w)1]}.`basename $TOMBLOOP`"
|
TOMBMAPPER="tomb.$TOMBNAME.${maphash[(w)1]}.`basename $TOMBLOOP`"
|
||||||
local mounted_tombs=(`list_tomb_mounts`)
|
local mounted_tombs=(`list_tomb_mounts`)
|
||||||
|
Loading…
Reference in New Issue
Block a user