mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-08 15:52:44 +00:00
apply shfmt -i 2 as suggested by CI
This commit is contained in:
parent
728332eac5
commit
b2f2b5e3e0
@ -44,14 +44,13 @@ weechat_deploy() {
|
||||
if [ -w $WEECHAT_PEM ]; then
|
||||
_info "$WEECHAT_PEM exists and is writable, backing up and overwriting"
|
||||
cp $WEECHAT_PEM $WEECHAT_PEM.bak
|
||||
cat $_ckey $_cfullchain > $WEECHAT_PEM
|
||||
cat $_ckey $_cfullchain >$WEECHAT_PEM
|
||||
_info "Deployed $_cdomain to weechat"
|
||||
_debug "Attempting to issue /relay sslcertky to weechat via fifo"
|
||||
for fifo in $WEECHAT_HOME/weechat_fifo_*
|
||||
do
|
||||
_info "Issuing reload to weechat via $fifo"
|
||||
printf '%b' '*/relay sslcertkey\n' > "$fifo"
|
||||
done
|
||||
for fifo in $WEECHAT_HOME/weechat_fifo_*; do
|
||||
_info "Issuing reload to weechat via $fifo"
|
||||
printf '%b' '*/relay sslcertkey\n' >"$fifo"
|
||||
done
|
||||
exit 0
|
||||
else
|
||||
_err "$WEECHAT_PEM does not exist or is not writable. If this is a first run \
|
||||
|
Loading…
x
Reference in New Issue
Block a user