mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2025-01-22 22:48:24 +00:00
fixed patch error
Something went wrong when I tried to move my changes from my installation into the git. Now the tests complete successfully.
This commit is contained in:
parent
6af298e15f
commit
e463a6e600
10
tomb
10
tomb
@ -345,16 +345,6 @@ _is_zramswap() {
|
||||
# Synopsis: _zramswap_uses_writeback /path/to/block/device
|
||||
# Return 0 if the zram device writes to disk
|
||||
# Return 1 if the zram device does not write to disk
|
||||
elif _is_zramswap $s; then
|
||||
if _zramswap_uses_writeback $s; then
|
||||
# We're dealing with unencrypted stuff written to disk.
|
||||
# Maybe it lives on an encrypted filesystem anyway.
|
||||
# @todo verify it's actually written to an encrypted FS
|
||||
# Well, no: bail out.
|
||||
r=1; break;
|
||||
else
|
||||
r=2;
|
||||
fi
|
||||
_zramswap_uses_writeback() {
|
||||
local b=$1 # Path to a block device
|
||||
local m="" # major device number
|
||||
|
Loading…
x
Reference in New Issue
Block a user