nixos/stage-1: remove dead code
This special case for Btrfs was added in51bc82960a
. One year laterbeddd36c95
added code to skip the fsck entirely if the filesystem is Btrfs. This made the `if` statement unnecessary.
This commit is contained in:
parent
7beebb590d
commit
deed4a3d6c
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue