mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-19 16:51:00 +01:00
use full path when calling jls binary
This commit is contained in:
@@ -580,7 +580,7 @@ else
|
||||
fi
|
||||
|
||||
# Check if a running jail matches name or already exist
|
||||
if [ -n "$(jls name | awk "/^${TARGET_TRIM}$/")" ]; then
|
||||
if [ -n "$(/usr/sbin/jls name | awk "/^${TARGET_TRIM}$/")" ]; then
|
||||
error_exit "A running jail matches name."
|
||||
elif [ -n "${TARGET_TRIM}" ]; then
|
||||
if [ -d "${bastille_jailsdir}/${TARGET_TRIM}" ]; then
|
||||
|
||||
Reference in New Issue
Block a user