summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Source/Package/V3/Bzr.pm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Dpkg/Source/Package/V3/Bzr.pm')
-rw-r--r--scripts/Dpkg/Source/Package/V3/Bzr.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Dpkg/Source/Package/V3/Bzr.pm b/scripts/Dpkg/Source/Package/V3/Bzr.pm
index 86ca1826d..725ed6ffd 100644
--- a/scripts/Dpkg/Source/Package/V3/Bzr.pm
+++ b/scripts/Dpkg/Source/Package/V3/Bzr.pm
@@ -141,7 +141,7 @@ sub do_build {
my $tardir = "$tmp/$dirname";
system('bzr', 'branch', $dir, $tardir);
- $? && subprocerr("bzr branch $dir $tardir");
+ subprocerr("bzr branch $dir $tardir") if $?;
# Remove the working tree.
system('bzr', 'remove-tree', $tardir);