From 9085aa43224474bc2c943f4d268d8dd4b735a665 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sun, 4 Aug 2013 17:18:08 -0400 Subject: check.c: break backup file search loop after match Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- src/pacman/check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pacman/check.c b/src/pacman/check.c index 6c8889fc..f9166b0b 100644 --- a/src/pacman/check.c +++ b/src/pacman/check.c @@ -329,7 +329,7 @@ int check_pkg_full(alpm_pkg_t *pkg) if(strcmp(path, bl->name) == 0) { backup = 1; - continue; + break; } } -- cgit v1.2.3-70-g09d2