summaryrefslogtreecommitdiff
path: root/dh_builddeb
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-07-17 16:01:56 -0400
committerJoey Hess <joey@kitenet.net>2011-07-17 16:01:56 -0400
commit099c5507f059cde1553618708600ceb6a3f73761 (patch)
tree7818320b3e71b96602dcd1fe0a690fc9517102de /dh_builddeb
parentaad9db39d4c4d68ce6b30b193fbdbc6b737e0a9c (diff)
minor
Diffstat (limited to 'dh_builddeb')
-rwxr-xr-xdh_builddeb5
1 files changed, 3 insertions, 2 deletions
diff --git a/dh_builddeb b/dh_builddeb
index 26e12746..be6324a4 100755
--- a/dh_builddeb
+++ b/dh_builddeb
@@ -104,9 +104,10 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
doit("dpkg-deb", @{$dh{U_PARAMS}}, "--build", $tmp, $dh{DESTDIR}.$filename);
}
exit (0) if ($max_procs > 1);
- } else {
+ }
+ else {
if (!defined $pid) {
- error("fork failed!");
+ error("fork failed! $!");
}
$processes++;
}