diff options
| author | Guilhem Moulin <guilhem@fripost.org> | 2017-02-19 13:24:07 +0100 |
|---|---|---|
| committer | Guilhem Moulin <guilhem@fripost.org> | 2017-02-19 13:25:19 +0100 |
| commit | de585094c458a36a387277544bda5f4004bbb03c (patch) | |
| tree | ec19fee2d163a2e79ddbad3ca5c29bca2bc98523 /lacme | |
| parent | bbbd329e9a1274d0a7bfb7b741894f5417b43538 (diff) | |
new-cert: sort section names if not passed explicitely.
Diffstat (limited to 'lacme')
| -rwxr-xr-x | lacme | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -598,7 +598,7 @@ elsif ($COMMAND eq 'new-cert') { my $challenge_dir; my $rv = 0; - foreach my $s (@ARGV ? @ARGV : keys %$conf) { + foreach my $s (@ARGV ? @ARGV : sort (keys %$conf)) { my $conf = $conf->{$s} // do { print STDERR "Warning: No such section $s, skipping\n"; $rv = 1; |
