[pacman-dev] [PATCH 1/4] sync.c: remove duplicated code for integrity check failures