From 0327b6cd9814e80662ba5a44804b097bb0f0ff05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 6 Nov 2017 15:57:20 +0100 Subject: [PATCH] api/admin: hide dd statistics in admin.vm.volume.Import call But still show errors, if occurs. --- qubes-rpc/admin.vm.volume.Import | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes-rpc/admin.vm.volume.Import b/qubes-rpc/admin.vm.volume.Import index 50a75e30..1903387e 100755 --- a/qubes-rpc/admin.vm.volume.Import +++ b/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"