about summary refs log tree commit diff stats
path: root/leo.pl
diff options
context:
space:
mode:
Diffstat (limited to 'leo.pl')
-rwxr-xr-xleo.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/leo.pl b/leo.pl
index 9d14e9d..a2656a4 100755
--- a/leo.pl
+++ b/leo.pl
@@ -76,8 +76,9 @@ sub archive {
 # Encrypt, Sign archives.
 sub encrypt_sign() {
     my $file = shift @_;
-    my @options = ("--recipient", $gpg_fingerprint);
-    push @options, "--encrypt" if $options{encrypt};
+    my @options = ();
+    push @options, "--recipient", $gpg_fingerprint, "--encrypt"
+        if $options{encrypt};
     push @options, "--sign" if $options{sign};
     push @options, "--verbose" if $options{verbose};