Merge pull request #418 from cedwards/fix-410-cmd-use-jail-env

fix issue #410 so CMD properly uses jailed env (root)
This commit is contained in:
Christer Edwards
2021-07-13 21:39:14 -06:00
committed by GitHub

View File

@@ -47,6 +47,6 @@ fi
for _jail in ${JAILS}; do
info "[${_jail}]:"
jexec -l "${_jail}" "$@"
jexec -l -U root "${_jail}" "$@"
echo
done