mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-21 17:52:01 +01:00
use full path when calling jls binary
This commit is contained in:
@@ -164,7 +164,7 @@ clone_jail() {
|
||||
else
|
||||
# Just clone the jail directory
|
||||
# Check if container is running
|
||||
if [ -n "$(jls name | awk "/^${TARGET}$/")" ]; then
|
||||
if [ -n "$(/usr/sbin/jls name | awk "/^${TARGET}$/")" ]; then
|
||||
error_exit "${TARGET} is running. See 'bastille stop ${TARGET}'."
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user