From 1e5d6a096a939e28e3730eb6be8fe42a0a024822 Mon Sep 17 00:00:00 2001 From: andrewheberle Date: Thu, 6 Jun 2019 23:30:50 +0800 Subject: [PATCH] shellcheck error fix --- deploy/sophosxg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/sophosxg.sh b/deploy/sophosxg.sh index 2cce5c01..ac47ca14 100644 --- a/deploy/sophosxg.sh +++ b/deploy/sophosxg.sh @@ -35,7 +35,7 @@ sophosxg_do_req() { fi # build POST body - _do_req_post="$(printf '--%s\r\n' "${_do_req_post}" "${_do_req_boundary}")" + _do_req_post="$(printf '%s--%s\r\n' "" "${_do_req_boundary}")" _do_req_post="$(printf '%sContent-Type: application/xml; charset=utf-8\r\n' "${_do_req_post}")" _do_req_post="$(printf '%sContent-Disposition: form-data; name="reqxml"\r\n' "${_do_req_post}")" _do_req_post="$(printf '%s\r\n' "${_do_req_post}")"