btrfsck doesn't respect any flags
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
9b4991d3f4
commit
51bc82960a
@ -219,7 +219,11 @@ checkFS() {
|
|||||||
|
|
||||||
echo "checking $device..."
|
echo "checking $device..."
|
||||||
|
|
||||||
fsck -V -a "$device"
|
fsckFlags=
|
||||||
|
if test "$fsType" != "btrfs"; then
|
||||||
|
fsckFlags="-V -a"
|
||||||
|
fi
|
||||||
|
fsck $fsckFlags "$device"
|
||||||
fsckResult=$?
|
fsckResult=$?
|
||||||
|
|
||||||
if test $(($fsckResult | 2)) = $fsckResult; then
|
if test $(($fsckResult | 2)) = $fsckResult; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user