From 5b3da8f1752c6123c3a253821555fb50aee4deab Mon Sep 17 00:00:00 2001 From: joeyh Date: Mon, 13 Mar 2006 04:37:36 +0000 Subject: r1884: impove some errors --- Debian/Debhelper/Dh_Lib.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Debian/Debhelper/Dh_Lib.pm') diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm index 80645abe..87677580 100644 --- a/Debian/Debhelper/Dh_Lib.pm +++ b/Debian/Debhelper/Dh_Lib.pm @@ -553,7 +553,7 @@ sub excludefile { sub buildarch { return $arch if defined $arch; - $arch=`dpkg-architecture -qDEB_HOST_ARCH 2>/dev/null` || error($!); + $arch=`dpkg-architecture -qDEB_HOST_ARCH 2>/dev/null` || error("dpkg-architecture failed"); chomp $arch; return $arch; } -- cgit v1.2.3