summaryrefslogtreecommitdiff
path: root/Debian
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-09-27 21:23:46 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-09-27 21:23:46 -0400
commit94779d835808c3dc91502e4abb39d79e4716dda3 (patch)
tree01d4e9a2c09a759bb169b451b06ac677b1a66739 /Debian
parent22480567cdff485a5a2bf5e1064d6f18a84a5d9b (diff)
Allow dpkg-architecture to print errors to stderr. Closes: #548636
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 5a0b7947..325c7fc3 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -608,7 +608,7 @@ sub excludefile {
sub dpkg_architecture_value {
my $var = shift;
- my $value=`dpkg-architecture -q$var 2>/dev/null` || error("dpkg-architecture failed");
+ my $value=`dpkg-architecture -q$var` || error("dpkg-architecture failed");
chomp $value;
return $value;
}