summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2013-08-04 23:18:08 +0200
committerAllan McRae <allan@archlinux.org>2013-08-21 03:12:56 +0200
commit9085aa43224474bc2c943f4d268d8dd4b735a665 (patch)
tree3be4aaf6436dbacfd30a17c3a37dfa45c04e31c9
parent247b9af02bd0d40109cc0ca40116a960c9f530e7 (diff)
downloadpacman-9085aa43224474bc2c943f4d268d8dd4b735a665.tar.gz
pacman-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>
-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;
}
}