Merge pull request #171402 from Luflosi/remove-dead-code

nixos/stage-1: remove dead code
This commit is contained in:
Lassulus
2022-05-03 16:59:43 +02:00
committed by GitHub
+1 -5
View File
@@ -318,11 +318,7 @@ checkFS() {
echo "checking $device..."
fsckFlags=
if test "$fsType" != "btrfs"; then
fsckFlags="-V -a"
fi
fsck $fsckFlags "$device"
fsck -V -a "$device"
fsckResult=$?
if test $(($fsckResult | 2)) = $fsckResult; then