Skip to content

Commit a9a0459

Browse files
authored
syntax fix
1 parent e71b26d commit a9a0459

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

archfloppy-install

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ echo "Select the root partition." && read -r rootpart
2121
if [ -d /sys/firmware/efi ]; then
2222
echo "Select the ESP partition." && read esppart
2323
fi
24-
echo "ARE YOU SURE YOU WANT TO FORMAT THE DISK(S)? (y/N)" & read frmtdskvrfy
24+
echo "ARE YOU SURE YOU WANT TO FORMAT THE DISK(S)? (y/N)" && read frmtdskvrfy
2525
case $frmtdskvrfy in
2626
y|Y)
2727
mkfs.ext4 $rootpart
@@ -32,7 +32,7 @@ case $frmtdskvrfy in
3232
echo "Aborting."; exit 1;;
3333
esac
3434
mount $rootpart /mnt
35-
if [ -d /sys/firmware/efi ];
35+
if [ -d /sys/firmware/efi ]; then
3636
mkdir -p /mnt/boot
3737
mount $esppart /mnt/boot
3838
fi

0 commit comments

Comments
 (0)