Signed-off-by: Andrew Gregory <[email protected]>
---
 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 6c8889f..f9166b0 100644
--- a/src/pacman/check.c
+++ b/src/pacman/check.c
@@ -327,11 +327,11 @@ int check_pkg_full(alpm_pkg_t *pkg)
                for(lp = alpm_pkg_get_backup(pkg); lp; lp = lp->next) {
                        alpm_backup_t *bl = lp->data;
 
                        if(strcmp(path, bl->name) == 0) {
                                backup = 1;
-                               continue;
+                               break;
                        }
                }
 
                if(type != AE_IFDIR) {
                        /* file or symbolic link */
-- 
1.8.3.4


Reply via email to