renaming loop variable to _service

This commit is contained in:
Christer Edwards committed 2019-11-20 20:00:26 -07:00
1 parent 4a7b4a6bb0
commit ebcf0831dc
1 file changed
+2 -2
+2 -2
View File
@@ -161,8 +161,8 @@ for _jail in ${JAILS}; do
## SERVICE ## SERVICE
if [ -s "${bastille_template_SERVICE}" ]; then if [ -s "${bastille_template_SERVICE}" ]; then
echo -e "${COLOR_GREEN}Managing services.${COLOR_RESET}" echo -e "${COLOR_GREEN}Managing services.${COLOR_RESET}"
while read _sysrc; do while read _service; do
jexec -l ${_jail} /usr/sbin/service ${_sysrc} || exit 1 jexec -l ${_jail} /usr/sbin/service ${_service} || exit 1
done < "${bastille_template_SERVICE}" done < "${bastille_template_SERVICE}"
fi fi