Fixed issue #84

This commit is contained in:
framp 2019-08-23 15:46:45 +02:00
parent cbd4720ea9
commit cfe5cc5534
1 changed files with 1 additions and 1 deletions

View File

@ -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=$?