From e8570939798936456b3d57de5da952deeeedef8b Mon Sep 17 00:00:00 2001 From: Christer Edwards Date: Mon, 15 Jul 2019 07:51:43 -0600 Subject: [PATCH] minor fix in create.sh --- usr/local/share/bastille/create.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/create.sh b/usr/local/share/bastille/create.sh index cc69c8ba..75892e30 100644 --- a/usr/local/share/bastille/create.sh +++ b/usr/local/share/bastille/create.sh @@ -173,7 +173,7 @@ if [ $# -gt 3 ] || [ $# -lt 3 ]; then usage fi -if [ $(grep '@' $3) ]; then +if [ $(echo $3 | grep '@' ) ]; then BASTILLE_JAIL_IP=$(echo $3 | awk -F@ '{print $2}') BASTILLE_JAIL_INTERFACES=$( echo $3 | awk -F@ '{print $1}') fi