From 19cadec03e2e1164d448193e230ac00de6924e52 Mon Sep 17 00:00:00 2001 From: Jose Date: Fri, 14 Feb 2020 11:43:26 -0400 Subject: [PATCH] Add quoted variables to rctl --- usr/local/share/bastille/limits.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/limits.sh b/usr/local/share/bastille/limits.sh index b6b4a9d7..483a0341 100644 --- a/usr/local/share/bastille/limits.sh +++ b/usr/local/share/bastille/limits.sh @@ -69,6 +69,6 @@ fi for _jail in ${JAILS}; do echo -e "${COLOR_GREEN}[${_jail}]:${COLOR_RESET}" echo -e "${TYPE} ${VALUE}" - rctl -a jail:${_jail}:${OPTION}:deny=${VALUE}/jail + rctl -a jail:"${_jail}":"${OPTION}":deny="${VALUE}/jail" echo -e "${COLOR_RESET}" done