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..
This commit is contained in:
parent
4607428c38
commit
02ae961bf0
@ -3,7 +3,7 @@
|
|||||||
UPDATEVM=`qvm-get-updatevm`
|
UPDATEVM=`qvm-get-updatevm`
|
||||||
|
|
||||||
if [ -n "$UPDATEVM" ]; then
|
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
|
fi
|
||||||
|
|
||||||
# Ignore errors (eg VM not running)
|
# Ignore errors (eg VM not running)
|
||||||
|
Loading…
Reference in New Issue
Block a user