fix issue #120: running fails on some locale environment
This commit is contained in:
parent
83eb694145
commit
19451a004b
|
@ -154,6 +154,7 @@ fi
|
|||
trap cleanup ERR EXIT
|
||||
|
||||
#Gather info
|
||||
export LANG=en_US.UTF-8
|
||||
info "Gatherin data"
|
||||
beforesize=$(ls -lh "$img" | cut -d ' ' -f 5)
|
||||
parted_output=$(parted -ms "$img" unit B print | tail -n 1)
|
||||
|
|
Loading…
Reference in New Issue