projects
/
snf-image
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd6f95c
)
Fix a bug in get_partition_to_resize
author
Nikos Skalkotos
<skalkoto@grnet.gr>
Mon, 7 Jan 2013 14:07:57 +0000
(16:07 +0200)
committer
Nikos Skalkotos
<skalkoto@grnet.gr>
Mon, 7 Jan 2013 14:07:57 +0000
(16:07 +0200)
Fix a typo in a variable name
snf-image-helper/common.sh
patch
|
blob
|
history
diff --git
a/snf-image-helper/common.sh
b/snf-image-helper/common.sh
index
2a3422d
..
01dd5d8
100644
(file)
--- a/
snf-image-helper/common.sh
+++ b/
snf-image-helper/common.sh
@@
-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"