Merge pull request #112 from reiven/master

fixed 'non interactive' e2fsck on resize, proposal for #111
This commit is contained in:
Jaromil 2014-06-08 20:37:07 +02:00
commit 9bc0bd762b

2
tomb
View File

@ -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"