Merge pull request #284 from chriswells0/stopped-jail-actions

Fix bug preventing commands against stopped jails.
This commit is contained in:
Christer Edwards
2020-11-28 13:12:52 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

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