Commit 0e707fe3 authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Fix a bug in get_partition_to_resize

Fix a typo in a variable name
parent bd6f95c7
......@@ -266,7 +266,7 @@ get_partition_to_resize() {
extended=$(get_extended_partition "$table")
last_primary=$(get_last_primary_partition "$table")
ext_num=$(cut -d: -f1 <<< "$extended")
prim_num=$(cut -d: -f1 <<< "$last_primary")
last_prim_num=$(cut -d: -f1 <<< "$last_primary")
if [ "$ext_num" != "$last_prim_num" ]; then
echo "$last_prim_num"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment