mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-22 20:45:13 +00:00
Merge pull request #112 from reiven/master
fixed 'non interactive' e2fsck on resize, proposal for #111
This commit is contained in:
commit
9bc0bd762b
2
tomb
2
tomb
@ -2083,7 +2083,7 @@ resize_tomb() {
|
|||||||
_failure "cryptsetup failed to resize $mapper"
|
_failure "cryptsetup failed to resize $mapper"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
e2fsck -f /dev/mapper/${mapper}
|
e2fsck -p -f /dev/mapper/${mapper}
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
losetup -d ${nstloop}
|
losetup -d ${nstloop}
|
||||||
_failure "e2fsck failed to check $mapper"
|
_failure "e2fsck failed to check $mapper"
|
||||||
|
Loading…
Reference in New Issue
Block a user