Fixed issue #84
This commit is contained in:
parent
cbd4720ea9
commit
cfe5cc5534
|
@ -261,7 +261,7 @@ if ! endresult=$(parted -ms "$img" unit B print free); then
|
||||||
exit -15
|
exit -15
|
||||||
fi
|
fi
|
||||||
|
|
||||||
endresult=$(tail -1 <<< $endresult | cut -d ':' -f 2 | tr -d 'B')
|
endresult=$(tail -1 <<< "$endresult" | cut -d ':' -f 2 | tr -d 'B')
|
||||||
logVariables $LINENO endresult
|
logVariables $LINENO endresult
|
||||||
if ! truncate -s $endresult "$img"; then
|
if ! truncate -s $endresult "$img"; then
|
||||||
rc=$?
|
rc=$?
|
||||||
|
|
Loading…
Reference in New Issue