Commit 56ae57a2 authored by Vincent Pelletier's avatar Vincent Pelletier

shell/caucase.sh: Fix a shellcheck warning.

parent c6531df2
...@@ -508,7 +508,7 @@ updateCACertificate () { ...@@ -508,7 +508,7 @@ updateCACertificate () {
printf '%s\n' "$orig_ca" \ printf '%s\n' "$orig_ca" \
| forEachCertificate printIfExpiresAfter "$(date +%s)" | forEachCertificate printIfExpiresAfter "$(date +%s)"
)" || return )" || return
if [ $ca_is_file -eq 1 ]; then if [ "$ca_is_file" -eq 1 ]; then
printf '%s\n' "$valid_ca" > "$ca" printf '%s\n' "$valid_ca" > "$ca"
else else
for ca_file in "$ca"/*; do for ca_file in "$ca"/*; do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment