From ebcf0831dccadc4a6274ef8135bb21981aa95377 Mon Sep 17 00:00:00 2001 From: Christer Edwards Date: Wed, 20 Nov 2019 20:00:26 -0700 Subject: [PATCH] renaming loop variable to _service --- usr/local/share/bastille/template.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/share/bastille/template.sh b/usr/local/share/bastille/template.sh index 7f7286f1..8b8b8ce4 100644 --- a/usr/local/share/bastille/template.sh +++ b/usr/local/share/bastille/template.sh @@ -161,8 +161,8 @@ for _jail in ${JAILS}; do ## SERVICE if [ -s "${bastille_template_SERVICE}" ]; then echo -e "${COLOR_GREEN}Managing services.${COLOR_RESET}" - while read _sysrc; do - jexec -l ${_jail} /usr/sbin/service ${_sysrc} || exit 1 + while read _service; do + jexec -l ${_jail} /usr/sbin/service ${_service} || exit 1 done < "${bastille_template_SERVICE}" fi