api/admin: hide dd statistics in admin.vm.volume.Import call
But still show errors, if occurs.
Este commit está contenido en:
padre
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"
|
||||||
|
Cargando…
Referencia en una nueva incidencia
Block a user