Преглед на файлове

api/admin: hide dd statistics in admin.vm.volume.Import call

But still show errors, if occurs.
Marek Marczykowski-Górecki преди 6 години
родител
ревизия
0327b6cd98
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      qubes-rpc/admin.vm.volume.Import

+ 1 - 1
qubes-rpc/admin.vm.volume.Import

@@ -44,7 +44,7 @@ path=$(tail -c +3 "$tmpfile"|cut -d ' ' -f 2)
 
 # now process stdin into this path
 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"
 else
     status="fail"