diff --git a/usr/local/share/bastille/limits.sh b/usr/local/share/bastille/limits.sh index c9826c72..28f1aa68 100644 --- a/usr/local/share/bastille/limits.sh +++ b/usr/local/share/bastille/limits.sh @@ -109,7 +109,7 @@ for _jail in ${JAILS}; do # Remove limits if [ -s "${bastille_jailsdir}/${_jail}/rctl.conf" ]; then while read _limits; do - rctl -r "${_limits}" 2 > /dev/null + rctl -r "${_limits}" 2>/dev/null done < "${bastille_jailsdir}/${_jail}/rctl.conf" info "[${TARGET}]: RCTL limits cleared." fi @@ -118,7 +118,7 @@ for _jail in ${JAILS}; do # Remove limits and delete rctl.conf if [ -s "${bastille_jailsdir}/${_jail}/rctl.conf" ]; then while read _limits; do - rctl -r "${_limits}" 2 > /dev/null + rctl -r "${_limits}" 2>/dev/null done < "${bastille_jailsdir}/${_jail}/rctl.conf" info "[${TARGET}]: RCTL limits cleared." fi