mirror of
https://github.com/nginx-proxy/docker-letsencrypt-nginx-proxy-companion
synced 2024-11-26 13:03:52 +01:00
fix: remove unnecessary echo triggering SC2116
This commit is contained in:
parent
c26ee284cd
commit
312fe57bb8
@ -24,8 +24,7 @@ function run_le_container {
|
|||||||
local cli_args_arr_tmp
|
local cli_args_arr_tmp
|
||||||
IFS=' ' read -r -a cli_args_arr_tmp <<< "${2:?}"
|
IFS=' ' read -r -a cli_args_arr_tmp <<< "${2:?}"
|
||||||
cli_args_arr+=("${cli_args_arr_tmp[0]}") #Head
|
cli_args_arr+=("${cli_args_arr_tmp[0]}") #Head
|
||||||
#shellcheck disable=SC2116
|
cli_args_arr+=("${cli_args_arr_tmp[*]:1}") #Tail
|
||||||
cli_args_arr+=("$(echo "${cli_args_arr_tmp[@]:1}")") #Tail
|
|
||||||
shift 2
|
shift 2
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user