Skip to content

Commit

Permalink
setup: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
marcone committed Sep 3, 2024
1 parent 7a08220 commit adf2b8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/generic/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ then
read -r fsblockcount fsblocksize < <(tune2fs -l "${rootpart}" | grep "Block count:\|Block size:" | awk ' {print $2}' FS=: | tr -d ' ' | tr '\n' ' ' | (cat; echo))
fsnumsectors=$((fsblockcount * fsblocksize / devsectorsize))
partnumsectors=$(sfdisk -l -o Sectors "${rootdev}" | tail -1)
partnumsector=$((partnumsectors - 1));
partnumsectors=$((partnumsectors - 1));
if [ "$partnumsectors" -le "$fsnumsectors" ]
then
if [ -f "$marker" ]
Expand Down

0 comments on commit adf2b8a

Please sign in to comment.