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.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/leo.pl b/leo.pl
index a82ef07..34a518f 100755
--- a/leo.pl
+++ b/leo.pl
@@ -83,7 +83,7 @@ my @gpg_recipients;
 
 my $gpg_bin = $options{gpg_bin} || "gpg";
 warn "[WARN] \$gpg_bin is set to `$gpg_bin'"
-    unless $gpg_bin =~ /^[gpg|gpg2]$/;
+    unless $gpg_bin =~ /^(gpg2?)$/;
 
 # Print help.
 HelpMessage() and exit 0 if scalar @ARGV == 0 or $options{help};
eb1c977b ^
ee35f41d ^

796074b5 ^
ee35f41d ^




58fd4d93 ^




ee35f41d ^
93654aa0 ^
ee35f41d ^

796074b5 ^
ee35f41d ^

93654aa0 ^
ee35f41d ^








ab90d5bb ^
ee35f41d ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40