btrfsck doesn't respect any flags

Signed-off-by: Shea Levy <shea@shealevy.com>
wip/yesman
Shea Levy 11 years ago
parent 9b4991d3f4
commit 51bc82960a
  1. 6
      modules/system/boot/stage-1-init.sh

@ -219,7 +219,11 @@ checkFS() {
echo "checking $device..."
fsck -V -a "$device"
fsckFlags=
if test "$fsType" != "btrfs"; then
fsckFlags="-V -a"
fi
fsck $fsckFlags "$device"
fsckResult=$?
if test $(($fsckResult | 2)) = $fsckResult; then

Loading…
Cancel
Save