commit 8aa96b43fa4adc65a0006064c5bb8461230446b1 from: Alexander Arch via: Alex Arx date: Fri Nov 15 13:50:00 2024 UTC correctly set variables in add() commit - f131ca382c5689cf4ad8d5a85047e67727853bf6 commit + 8aa96b43fa4adc65a0006064c5bb8461230446b1 blob - 2238bbb340780b596e49ace56c7837008b1a0c05 blob + 8dd7d70bdc2be39134cab8ec3601d08b7e4f1e8f --- gpm +++ gpm @@ -73,10 +73,8 @@ sub prunetree { # on the command line. sub add { our $opt_m; - my $r = getrecipient; - my ($cmd, $sec); + my ($r, $sec, $cmd) = (getrecipient(), '', "$gpg -e"); - $cmd .= "$gpg -e"; $cmd .= " -r $r" if defined $r; getopts('m') or usage;