summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-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);