From 02ae961bf0f908df9582aaa9c363f110d159f4cb Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sat, 16 Jul 2011 02:01:31 +0200 Subject: [PATCH] dom0: hide warnings from tar (#265) Unfortunately tar in Fedora 13 is to old to support --warning option, which disables only particular kind of warnings.. --- dom0/aux-tools/sync_rpmdb_updatevm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom0/aux-tools/sync_rpmdb_updatevm.sh b/dom0/aux-tools/sync_rpmdb_updatevm.sh index 1ba7b0a9..d508b55c 100755 --- a/dom0/aux-tools/sync_rpmdb_updatevm.sh +++ b/dom0/aux-tools/sync_rpmdb_updatevm.sh @@ -3,7 +3,7 @@ UPDATEVM=`qvm-get-updatevm` if [ -n "$UPDATEVM" ]; then - /usr/lib/qubes/qrexec_client -d "$UPDATEVM" -l 'tar c /var/lib/rpm /etc/yum.repos.d' 'root:tar x -C /var/lib/qubes/dom0-updates' + /usr/lib/qubes/qrexec_client -d "$UPDATEVM" -l 'tar c /var/lib/rpm /etc/yum.repos.d 2>/dev/null' 'user:tar x -C /var/lib/qubes/dom0-updates' fi # Ignore errors (eg VM not running)