Skip to content

Commit

Permalink
minor fix in create.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
cedwards committed Jul 15, 2019
1 parent 95cb137 commit e857093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/local/share/bastille/create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e857093

Please sign in to comment.