summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-13 12:03:17 -0500
committermidipix <writeonce@midipix.org>2016-11-13 12:03:17 -0500
commit902a22167b52d38de153cc95abaeab955d41e0e7 (patch)
treeb15b116a0909e9a23814c0deb3429ac17d686bb7
parent63714bb596ac11b20e9599b09bff1874697996d8 (diff)
downloadperk-902a22167b52d38de153cc95abaeab955d41e0e7.tar.bz2
perk-902a22167b52d38de153cc95abaeab955d41e0e7.tar.xz
driver: pe_main(): process all units even if errors have been recorded.
-rw-r--r--src/driver/pe_amain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/pe_amain.c b/src/driver/pe_amain.c
index 1ded100..cd345d9 100644
--- a/src/driver/pe_amain.c
+++ b/src/driver/pe_amain.c
@@ -104,7 +104,7 @@ int pe_main(int argc, char ** argv, char ** envp)
if ((pe_version(dctx)) < 0)
return pe_exit(dctx,PERK_ERROR);
- for (unit=dctx->units; *unit && !dctx->errv[0]; unit++) {
+ for (unit=dctx->units; *unit; unit++) {
if (!(pe_get_unit_ctx(dctx,*unit,&uctx))) {
pe_perform_unit_actions(dctx,uctx);
pe_free_unit_ctx(uctx);