mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-04 03:33:41 +01:00
Merge pull request #284 from chriswells0/stopped-jail-actions
Fix bug preventing commands against stopped jails.
This commit is contained in:
@@ -50,8 +50,8 @@ CPSOURCE="${1}"
|
||||
CPDEST="${2}"
|
||||
|
||||
for _jail in ${JAILS}; do
|
||||
bastille_jail_path="$(jls -j "${_jail}" path)"
|
||||
info "[${_jail}]:"
|
||||
bastille_jail_path="${bastille_jailsdir}/${_jail}/root"
|
||||
cp -av "${CPSOURCE}" "${bastille_jail_path}/${CPDEST}"
|
||||
RETURN="$?"
|
||||
if [ "${TARGET}" = "ALL" ]; then
|
||||
|
||||
Reference in New Issue
Block a user