server: Update check-canary to be in the right jail path
ie: /data instead of /var/backup
This commit is contained in:
parent
40bacca027
commit
5ab6f310f7
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ check_jail() {
|
|||
jail_name=$1
|
||||
|
||||
jail_path=$(jail_path "${jail_name}")
|
||||
canary_absolute_file="${jail_path}/var/backup/${CANARY_RELATIVE_FILE}"
|
||||
canary_absolute_file="${jail_path}/data/${CANARY_RELATIVE_FILE}"
|
||||
|
||||
if [ -f "${canary_absolute_file}" ]; then
|
||||
if grep --quiet --fixed-string "${date}" "${canary_absolute_file}"; then
|
||||
|
|
Loading…
Add table
Reference in a new issue