From ebdc8dd80a35cfab47d4a9f7c5140fc2b5092819 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Thu, 15 Sep 2011 00:19:48 +0200 Subject: [PATCH] vm/qvm-dom0-update: output diagnostics to stderr To not confuse qubes-watch-updates... --- common/qubes_download_dom0_updates.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/qubes_download_dom0_updates.sh b/common/qubes_download_dom0_updates.sh index 8901dbc..fd506a0 100755 --- a/common/qubes_download_dom0_updates.sh +++ b/common/qubes_download_dom0_updates.sh @@ -33,7 +33,7 @@ while [ -n "$1" ]; do done if ! [ -d "$DOM0_UPDATES_DIR" ]; then - echo "Dom0 updates dir does not exists: $DOM0_UPDATES_DIR" + echo "Dom0 updates dir does not exists: $DOM0_UPDATES_DIR" >&2 exit 1 fi @@ -46,7 +46,7 @@ if [ "$CLEAN" = "1" ]; then fi if [ "x$PKGLIST" = "x" ]; then - echo "Checking for dom0 updates..." + echo "Checking for dom0 updates..." >&2 PKGLIST=`yum $OPTS check-update -q | cut -f 1 -d ' '` else PKGS_FROM_CMDLINE=1