mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
1-prep/templates/iiab-expand-rootfs: 'exit 1' if partition's not the last
This commit is contained in:
parent
ee765e41d4
commit
baab781977
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ if [ -f /.expand-rootfs ] || [ -f /.resize-rootfs ]; then
|
||||||
|
|
||||||
if [ $ROOT_PART_NUM -ne $LAST_PART_NUM ]; then
|
if [ $ROOT_PART_NUM -ne $LAST_PART_NUM ]; then
|
||||||
echo "ERROR: $ROOT_PART partition ($ROOT_PART_NUM) is not the last partition ($LAST_PART_NUM). Don't know how to expand."
|
echo "ERROR: $ROOT_PART partition ($ROOT_PART_NUM) is not the last partition ($LAST_PART_NUM). Don't know how to expand."
|
||||||
return 0
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Expand partition
|
# Expand partition
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue