summaryrefslogtreecommitdiff
path: root/Debian
diff options
context:
space:
mode:
authorjoeyh <joeyh>2006-03-13 04:37:36 +0000
committerjoeyh <joeyh>2006-03-13 04:37:36 +0000
commit5b3da8f1752c6123c3a253821555fb50aee4deab (patch)
tree285b02d5414a28e3e174a09c65ee24904aa21f6f /Debian
parent9e27ad5f01f366be2573b2b1c0e6360fefb12e09 (diff)
r1884: impove some errors
Diffstat (limited to 'Debian')
-rw-r--r--Debian/Debhelper/Dh_Lib.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index 80645ab..8767758 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;
}