summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/pkg_install/delete/perform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/delete/perform.c b/usr.sbin/pkg_install/delete/perform.c
index 7f294c0..072b6d5 100644
--- a/usr.sbin/pkg_install/delete/perform.c
+++ b/usr.sbin/pkg_install/delete/perform.c
@@ -69,7 +69,7 @@ pkg_perform(char **pkgs)
* Another iteration requred to check if new pkgs[i]
* itself has any packages that depend on it
*/
- j--;
+ j = i + 1;
}
}
err_cnt += pkg_do(pkgs[i]);
OpenPOWER on IntegriCloud