diff options
author | kisik21 <kisik21@users.noreply.github.com> | 2018-06-19 01:59:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-19 01:59:08 +0300 |
commit | 0b9b7be5bfb85fc549146a36130cdd874a2381af (patch) | |
tree | b3268bf25fd0d8ad010177f873685cdc2d3a5729 /nixos | |
parent | b44d3045421bfd9857a4cecae4250e88a973f015 (diff) | |
download | nixlib-0b9b7be5bfb85fc549146a36130cdd874a2381af.tar nixlib-0b9b7be5bfb85fc549146a36130cdd874a2381af.tar.gz nixlib-0b9b7be5bfb85fc549146a36130cdd874a2381af.tar.bz2 nixlib-0b9b7be5bfb85fc549146a36130cdd874a2381af.tar.lz nixlib-0b9b7be5bfb85fc549146a36130cdd874a2381af.tar.xz nixlib-0b9b7be5bfb85fc549146a36130cdd874a2381af.tar.zst nixlib-0b9b7be5bfb85fc549146a36130cdd874a2381af.zip |
nixos/stage-1: fixed if-else block
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/boot/stage-1-init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/stage-1-init.sh b/nixos/modules/system/boot/stage-1-init.sh index 227ab4500025..f2084842db8c 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" |