[Rt-commit] r18386 - rt/3.8/trunk/lib/RT/Crypt
ruz at bestpractical.com
ruz at bestpractical.com
Fri Feb 13 22:00:21 EST 2009
Author: ruz
Date: Fri Feb 13 22:00:21 2009
New Revision: 18386
Modified:
rt/3.8/trunk/lib/RT/Crypt/GnuPG.pm
Log:
* localize $@ as we don't rethrow it
Modified: rt/3.8/trunk/lib/RT/Crypt/GnuPG.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Crypt/GnuPG.pm (original)
+++ rt/3.8/trunk/lib/RT/Crypt/GnuPG.pm Fri Feb 13 22:00:21 2009
@@ -2351,6 +2351,7 @@
my ($handles, $handle_list) = _make_gpg_handles();
my %handle = %$handle_list;
+ local $@;
eval {
local $SIG{'CHLD'} = 'DEFAULT';
my $pid = safe_run_child { $gnupg->wrap_call( commands => ['--version' ], handles => $handles ) };
More information about the Rt-commit
mailing list