mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Compatibility with more traditional versions of awk
This commit is contained in:
parent
ec297ccf72
commit
59bbda51ab
1 changed files with 1 additions and 1 deletions
|
|
@ -174,7 +174,7 @@ CheckRenewHook() {
|
|||
TotalAndDistinctLines() {
|
||||
total=$1
|
||||
distinct=$2
|
||||
awk '{a[$1] = 1}; END {exit(NR !='$total' || length(a) !='$distinct')}'
|
||||
awk '{a[$1] = 1}; END {n = 0; for (i in a) { n++ }; exit(NR !='$total' || n !='$distinct')}'
|
||||
}
|
||||
|
||||
# Cleanup coverage data
|
||||
|
|
|
|||
Loading…
Reference in a new issue