diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/driver/sfrt_amain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/sfrt_amain.c b/src/driver/sfrt_amain.c index d9ee482..0b18010 100644 --- a/src/driver/sfrt_amain.c +++ b/src/driver/sfrt_amain.c @@ -79,7 +79,7 @@ int sfrt_main(int argc, char ** argv, char ** envp) if ((sfrt_output_dummy(dctx->cctx,stdout)) < 0) /* dummy */ return sfrt_exit(dctx,2); /* dummy */ /* dummy */ - for (unit=dctx->units; *unit; unit++) { + for (unit=dctx->units; *unit && !dctx->errv[0]; unit++) { if (!(sfrt_get_unit_ctx(dctx,*unit,&uctx))) { sfrt_perform_unit_actions(dctx,uctx); sfrt_free_unit_ctx(uctx); |