summaryrefslogtreecommitdiffstats
path: root/kuvert
diff options
context:
space:
mode:
Diffstat (limited to 'kuvert')
-rwxr-xr-xkuvert7
1 files changed, 2 insertions, 5 deletions
diff --git a/kuvert b/kuvert
index 4a8394f..d0892f0 100755
--- a/kuvert
+++ b/kuvert
@@ -518,11 +518,8 @@ sub process_file
#Check if mail needs to be dropped due to
#encrypt option being specyfied and lack of key
- if (grep($_ eq "drop",values(%actions)))
- {
- return "Dropping mail due to lack of encryption key. Mail would be sent to: @rawrecips";
- }
-
+ %actions = grep {$_ ne 'drop'} %actions;
+
my ($orig_header,$cryptoin);
# prepare various stuff we need only when encrypting or signing
if(grep($_ ne "none",values(%actions)))