From 57da5d597669038911cc2a278f0299f43edf8326 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 31 Dec 2019 12:33:24 +0000 Subject: [PATCH] import-catacomb-crypto: Add use strict and fix a bug revealed Signed-off-by: Ian Jackson --- import-catacomb-crypto | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/import-catacomb-crypto b/import-catacomb-crypto index 98a0963..c71359c 100755 --- a/import-catacomb-crypto +++ b/import-catacomb-crypto @@ -19,6 +19,7 @@ ### version 3 along with secnet; if not, see ### https://www.gnu.org/licenses/gpl.html. +use strict; use autodie; use IPC::System::Simple qw{runx capturex $EXITVAL}; @@ -40,7 +41,7 @@ sub moan ($) { print STDERR "$PROG: $_[0]\n"; } my %DONOR_PATH_MAP = (); my %DONOR_REV_MAP = (); -my $RECIP_CACHE = (); +my %RECIP_CACHE = (); sub note_path ($$) { my ($donor, $recip) = @_; -- 2.30.2