refactor: add local keyword

Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
th33xitus
2022-04-23 14:50:00 +02:00
parent b03df9811c
commit 3570d58f20
6 changed files with 7 additions and 7 deletions

View File

@@ -248,7 +248,7 @@ function set_nginx_cfg(){
if [ "${SET_NGINX_CFG}" = "true" ]; then
local cfg="${SRCDIR}/kiauh/resources/${1}"
#check for dependencies
dep=(nginx)
local dep=(nginx)
dependency_check "${dep[@]}"
#execute operations
status_msg "Creating Nginx configuration for ${1} ..."