mirror of
https://github.com/mag37/dockcheck.git
synced 2026-03-11 11:22:50 +01:00
Add error message; increase number of subprocesses
This commit is contained in:
parent
62a3d10b4f
commit
a2868ea505
1 changed files with 2 additions and 2 deletions
|
|
@ -361,11 +361,11 @@ else
|
||||||
GotUpdates) GotUpdates+=("$item") ;;
|
GotUpdates) GotUpdates+=("$item") ;;
|
||||||
GotErrors) GotErrors+=("$item") ;;
|
GotErrors) GotErrors+=("$item") ;;
|
||||||
Skip) ;;
|
Skip) ;;
|
||||||
*) ;;
|
*) echo "Error: invalid result from subprocess! (${item})" ;;
|
||||||
esac
|
esac
|
||||||
done < <( \
|
done < <( \
|
||||||
docker ps $Stopped --filter "name=$SearchName" --format '{{.Names}}' | \
|
docker ps $Stopped --filter "name=$SearchName" --format '{{.Names}}' | \
|
||||||
xargs -P 8 -I {} bash -c 'check_image "{}"' \
|
xargs -P 32 -I {} bash -c 'check_image "{}"' \
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue