From b2f2b5e3e0c06f7e400fe23f7a09d3b721bc3701 Mon Sep 17 00:00:00 2001 From: pdoroff Date: Mon, 20 Feb 2017 20:57:20 -0600 Subject: [PATCH] apply shfmt -i 2 as suggested by CI --- deploy/weechat.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/deploy/weechat.sh b/deploy/weechat.sh index 95aab83b..de68bc34 100755 --- a/deploy/weechat.sh +++ b/deploy/weechat.sh @@ -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 \