From bd094de859887e9daad09a5e044fbd5042d399bc Mon Sep 17 00:00:00 2001 From: Junichi Uekawa Date: Tue, 27 Mar 2007 23:01:37 +0900 Subject: error message goes to &2 --- pbuilder-user-mode-linux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pbuilder-user-mode-linux') diff --git a/pbuilder-user-mode-linux b/pbuilder-user-mode-linux index 41fe070..351db60 100755 --- a/pbuilder-user-mode-linux +++ b/pbuilder-user-mode-linux @@ -36,7 +36,7 @@ function usecow () { PBUILDER_COWFILENAME="${BUILDPLACE}/$$.cow" PBUILDER_COW="${PBUILDER_COWFILENAME}," if ! touch "${PBUILDER_COWFILENAME}"; then - echo "E: Cannot write-access to the COW file, check buildplace" + echo "E: Cannot write-access to the COW file, check buildplace" >&2 exit 1; fi rm -f "${PBUILDER_COWFILENAME}" @@ -70,7 +70,7 @@ mknod /dev/ubdb b 98 16 # echo "W: Failed to fsck /dev/ubdb" #fi if ! mount -t ext2 /dev/ubdb ${UML_CHROOT_MOUNTPOINT}; then - echo "E: Cannot mount /dev/ubdb, is UML root image accessible as current user?" + echo "E: Cannot mount /dev/ubdb, is UML root image accessible as current user?" >&2 exit 1 fi mount --bind ${UML_CHROOT_MOUNTPOINT}/dev /dev -- cgit v1.2.3