]> git.donarmstrong.com Git - debhelper.git/commitdiff
minor
authorJoey Hess <joey@kitenet.net>
Sun, 17 Jul 2011 20:01:56 +0000 (16:01 -0400)
committerJoey Hess <joey@kitenet.net>
Sun, 17 Jul 2011 20:01:56 +0000 (16:01 -0400)
dh_builddeb

index 26e127464a36ee75c25bd0b7fcea5d74c6b0f4d8..be6324a4b764c616708ec2f47b8111bcbb4dcab3 100755 (executable)
@@ -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++;
        }