minor fix in create.sh

This commit is contained in:
Christer Edwards
2019-07-15 07:51:43 -06:00
parent 95cb13739d
commit e857093979

View File

@@ -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