fix update cmd in jailman.sh

This commit is contained in:
colemamd 2020-06-18 19:18:40 -04:00
parent 9d07423292
commit 7bd99e2d39

View File

@ -196,7 +196,7 @@ else
then
echo "Updating $jail"
iocage update "${jail}"
iocage exec "${jail}" "pkg update && pkg upgrade -y" && "${SCRIPT_DIR}"/jails/"${!blueprint}"/update.sh
iocage exec "${jail}" "pkg update && pkg upgrade -y" && "${SCRIPT_DIR}"/blueprints/"${!blueprint}"/update.sh "${jail}"
iocage restart "${jail}"
iocage start "${jail}"
else