From 0b9b7be5bfb85fc549146a36130cdd874a2381af Mon Sep 17 00:00:00 2001 From: kisik21 Date: Tue, 19 Jun 2018 01:59:08 +0300 Subject: [PATCH] nixos/stage-1: fixed if-else block --- nixos/modules/system/boot/stage-1-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/stage-1-init.sh b/nixos/modules/system/boot/stage-1-init.sh index 227ab450002..f2084842db8 100644 --- a/nixos/modules/system/boot/stage-1-init.sh +++ b/nixos/modules/system/boot/stage-1-init.sh @@ -336,7 +336,7 @@ mountFS() { echo "resizing $device..." e2fsck -fp "$device" resize2fs "$device" - else [ "$fsType" = f2fs ]; then + elif [ "$fsType" = f2fs ]; then echo "resizing $device..." fsck.f2fs -fp "$device" resize.f2fs "$device"