aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.