aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-25 23:28:56 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-25 23:28:56 +0000
commit238e23afd466af0f49494e508145d0d1069fa7bb (patch)
tree71a3bcee0b890823f3aa8990b037a064975a3042
parent179937ac7b6d71fc52a01833b766402c3fc80bc4 (diff)
downloadiurt-238e23afd466af0f49494e508145d0d1069fa7bb.tar
iurt-238e23afd466af0f49494e508145d0d1069fa7bb.tar.gz
iurt-238e23afd466af0f49494e508145d0d1069fa7bb.tar.bz2
iurt-238e23afd466af0f49494e508145d0d1069fa7bb.tar.xz
iurt-238e23afd466af0f49494e508145d0d1069fa7bb.zip
(perform_command) explain the different error variables
-rw-r--r--lib/Iurt/Process.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Iurt/Process.pm b/lib/Iurt/Process.pm
index 957c388..4ca6a94 100644
--- a/lib/Iurt/Process.pm
+++ b/lib/Iurt/Process.pm
@@ -197,7 +197,9 @@ sub perform_command {
alarm 0;
};
+ # external program exit code
$err = $?;
+ # perl exception:
my $perl_err = $@;
# <mrl> Log it before any changes on it.