apply shfmt -i 2 as suggested by CI

This commit is contained in:
pdoroff 2017-02-20 20:57:20 -06:00
parent 728332eac5
commit b2f2b5e3e0

View File

@ -44,13 +44,12 @@ weechat_deploy() {
if [ -w $WEECHAT_PEM ]; then if [ -w $WEECHAT_PEM ]; then
_info "$WEECHAT_PEM exists and is writable, backing up and overwriting" _info "$WEECHAT_PEM exists and is writable, backing up and overwriting"
cp $WEECHAT_PEM $WEECHAT_PEM.bak cp $WEECHAT_PEM $WEECHAT_PEM.bak
cat $_ckey $_cfullchain > $WEECHAT_PEM cat $_ckey $_cfullchain >$WEECHAT_PEM
_info "Deployed $_cdomain to weechat" _info "Deployed $_cdomain to weechat"
_debug "Attempting to issue /relay sslcertky to weechat via fifo" _debug "Attempting to issue /relay sslcertky to weechat via fifo"
for fifo in $WEECHAT_HOME/weechat_fifo_* for fifo in $WEECHAT_HOME/weechat_fifo_*; do
do
_info "Issuing reload to weechat via $fifo" _info "Issuing reload to weechat via $fifo"
printf '%b' '*/relay sslcertkey\n' > "$fifo" printf '%b' '*/relay sslcertkey\n' >"$fifo"
done done
exit 0 exit 0
else else