mirror of
https://github.com/mag37/dockcheck.git
synced 2026-04-21 03:40:39 +00:00
Add error message; increase number of subprocesses
This commit is contained in:
+2
-2
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user