From 064127f5632e025d3ac0a62b3b550dbac1d52e21 Mon Sep 17 00:00:00 2001 From: "David E. Narvaez" Date: Sat, 25 Jan 2014 21:47:24 -0500 Subject: [PATCH] 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 --- modules/ksb/Application.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ksb/Application.pm b/modules/ksb/Application.pm index 58f6092..df7393f 100644 --- a/modules/ksb/Application.pm +++ b/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 $?.