Fix bug preventing commands against stopped jails.

This commit is contained in:
Chris Wells
2020-11-28 14:03:28 -05:00
parent a9ea02b743
commit 351020d137
2 changed files with 2 additions and 2 deletions

View File

@@ -154,7 +154,7 @@ clone|cmd|console|convert|cp|edit|export|htop|limits|mount|pkg|rename|service|st
fi
done
else
JAILS=$(jls name | awk "/^${TARGET}$/")
JAILS="${TARGET}"
# Ensure the target exists. -- cwells
if [ ! -d "${bastille_jailsdir}/${TARGET}" ]; then