summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2013-08-04 17:18:08 -0400
committerAllan McRae <allan@archlinux.org>2013-08-21 11:12:56 +1000
commit9085aa43224474bc2c943f4d268d8dd4b735a665 (patch)
tree3be4aaf6436dbacfd30a17c3a37dfa45c04e31c9 /src
parent247b9af02bd0d40109cc0ca40116a960c9f530e7 (diff)
downloadpacman-9085aa43224474bc2c943f4d268d8dd4b735a665.tar.xz
check.c: break backup file search loop after match
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/check.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}