Remove my Keyword from $result Variable

The return result obtained from the waitpid($monitorPid) will account
for a failure of the update process and force $result to be 1 (an error
status).

If the update was successful then $result is unchanged, which means if
the build process had failed, then $result would still indicate failure.
That didn't work due to the addition of the 'my', which masked the
top-level $result.

BUG: 330388
wilder
David E. Narvaez 12 years ago
parent 0498926d92
commit 064127f563
  1. 2
      modules/ksb/Application.pm

@ -1717,7 +1717,7 @@ sub _handle_async_build
else {
# Still the parent, let's do the build.
$ipc->setReceiver();
my $result = _handle_build ($ipc, $ctx);
$result = _handle_build ($ipc, $ctx);
}
# Exit code is in $?.

Loading…
Cancel
Save