Merge branch 'main' into stable
This commit is contained in:
commit
9f0eccdb3d
1 changed files with 2 additions and 2 deletions
|
@ -9,10 +9,10 @@ if [[ $(pgrep -a -f "${0}" | grep -v scriptherder | wc -l) -eq 2 ]]; then
|
|||
# a specific host, but will differ between hosts
|
||||
sleep $((16#$(ip a | grep "link/ether" | head -1 | awk -F ':' '{print $6}' | awk '{print $1}') / 2))m
|
||||
errors=''
|
||||
for container in $(get_containers); do
|
||||
for container in $(/usr/local/bin/get_containers); do
|
||||
error_ids="${error_ids} ${container}: "
|
||||
for id in $(nocc "${container}" files_external:list --all --output json | jq '.[].mount_id' | jq .); do
|
||||
nocc "${container}" files_external:scan "${id}" | grep Error
|
||||
/usr/local/bin/nocc "${container}" files_external:scan "${id}" | grep Error
|
||||
# shellcheck disable=SC2181
|
||||
if [[ ${?} -eq 0 ]]; then
|
||||
errors="${errors} ${id}"
|
||||
|
|
Loading…
Add table
Reference in a new issue