api/admin: hide dd statistics in admin.vm.volume.Import call
But still show errors, if occurs.
This commit is contained in:
parent
439d9b87ff
commit
0327b6cd98
@ -44,7 +44,7 @@ path=$(tail -c +3 "$tmpfile"|cut -d ' ' -f 2)
|
|||||||
|
|
||||||
# now process stdin into this path
|
# now process stdin into this path
|
||||||
if dd bs=4k of="$path" count="$size" iflag=count_bytes,fullblock \
|
if dd bs=4k of="$path" count="$size" iflag=count_bytes,fullblock \
|
||||||
conv=sparse,notrunc,nocreat,fdatasync; then
|
conv=sparse,notrunc,nocreat,fdatasync status=none; then
|
||||||
status="ok"
|
status="ok"
|
||||||
else
|
else
|
||||||
status="fail"
|
status="fail"
|
||||||
|
Loading…
Reference in New Issue
Block a user