diff options
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/pe_amain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/pe_amain.c b/src/driver/pe_amain.c index d7f0046..42ec2d1 100644 --- a/src/driver/pe_amain.c +++ b/src/driver/pe_amain.c @@ -101,7 +101,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; unit++) { + for (unit=dctx->units; *unit && !dctx->errv[0]; unit++) { if (!(pe_get_unit_ctx(dctx,*unit,&uctx))) { pe_perform_unit_actions(dctx,uctx); pe_free_unit_ctx(uctx); |