use full path when calling jls binary

This commit is contained in:
Christer Edwards
2021-12-17 19:09:49 -07:00
parent 8a4b0a1f5c
commit faf3b2b691
14 changed files with 26 additions and 26 deletions

View File

@@ -40,7 +40,7 @@ destroy_jail() {
bastille_jail_base="${bastille_jailsdir}/${TARGET}" ## dir
bastille_jail_log="${bastille_logsdir}/${TARGET}_console.log" ## file
if [ "$(jls name | awk "/^${TARGET}$/")" ]; then
if [ "$(/usr/sbin/jls name | awk "/^${TARGET}$/")" ]; then
if [ "${FORCE}" = "1" ]; then
bastille stop "${TARGET}"
else