Compare commits

...

2 Commits

Author SHA1 Message Date
Jérémy Lecour 67bbb5c100 Release 2.3.3 2020-05-28 10:24:47 +02:00
Jérémy Lecour 505bdb9117 On sync, add trailing slash to rsync command 2020-05-28 10:22:34 +02:00
2 changed files with 7 additions and 1 deletions

View File

@ -18,6 +18,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Security
## [2.3.3] - 2020-05-28
### Fixed
* On sync, add trailing slash to rsync command
## [2.3.2] - 2020-05-03
### Changed

View File

@ -29,7 +29,7 @@ fi
rsync -a "${jail_path}/" "${NODE}:${jail_path}/" --exclude proc/* --exclude sys/* --exclude dev/* --exclude run --exclude var/backup/*
# Sync config (new structure)
if [ -d "${jail_config_dir}" ]; then
rsync -a --delete "${jail_config_dir}" "${NODE}:${jail_config_dir}"
rsync -a --delete "${jail_config_dir}/" "${NODE}:${jail_config_dir}/"
else
ssh "${NODE}" "rm -rf ${jail_config_dir}" | debug
fi