Fix SC2162

See: https://www.shellcheck.net/wiki/SC2162
This commit is contained in:
Aleksandar Puharic 2024-05-17 01:54:52 +02:00
parent e6110e37f2
commit c7a402cf26
Signed by: xZero707
GPG Key ID: 3CC53DCAA9C237BB
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ function taskInstallPlugins() {
# init-install-resources main
main() {
exec > >(while read line; do echo "[init-install-resources] ${line}"; done) 2>&1
exec > >(while read -r line; do echo "[init-install-resources] ${line}"; done) 2>&1
PLUGIN_LIST="${WORDPRESS_PLUGIN_LIST:-}"
WP_CONTENT_PATH="/var/www/html/wp-content"

View File

@ -25,7 +25,7 @@ function reportUnhealthy() {
# init-verify-wordpress main
function main() {
exec > >(while read line; do echo "[init-verify-wordpress] ${line}"; done) 2>&1
exec > >(while read -r line; do echo "[init-verify-wordpress] ${line}"; done) 2>&1
local wpCurrentVersion
local wpInstalledVersion