mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-23 10:40:43 +01:00
use full path when calling jls binary
This commit is contained in:
@@ -50,7 +50,7 @@ EOF
|
||||
}
|
||||
|
||||
running_jail() {
|
||||
if [ -n "$(jls name | awk "/^${NAME}$/")" ]; then
|
||||
if [ -n "$(/usr/sbin/jls name | awk "/^${NAME}$/")" ]; then
|
||||
error_exit "A running jail matches name."
|
||||
elif [ -d "${bastille_jailsdir}/${NAME}" ]; then
|
||||
error_exit "Jail: ${NAME} already created."
|
||||
|
||||
Reference in New Issue
Block a user