mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-06 04:34:19 +01:00
Match exact jail name for start/stop commands, don't allow for dots during create
This commit is contained in:
@@ -51,7 +51,7 @@ if [ "$1" = 'ALL' ]; then
|
||||
JAILS=$(jls name)
|
||||
fi
|
||||
if [ "$1" != 'ALL' ]; then
|
||||
JAILS=$(jls name | grep -E "(^|\b)${1}($|\b)")
|
||||
JAILS=$(jls name | grep -w "$1")
|
||||
fi
|
||||
|
||||
for _jail in ${JAILS}; do
|
||||
|
||||
Reference in New Issue
Block a user