diff --git a/scripts/iterative/EDGE_transport.R b/scripts/iterative/EDGE_transport.R
index 52f2414d5cb3acdbf5e135c06d4029f13948ea3b..5114fe0327a585c5dfe5f24b3c471b19ab336001 100644
--- a/scripts/iterative/EDGE_transport.R
+++ b/scripts/iterative/EDGE_transport.R
@@ -240,7 +240,7 @@ if (opt$reporting) {
           file=datapath("demandF_plot_EJ.RDS"))
   saveRDS(shares_intensity_demand$demandF_plot_pkm,
           file=datapath("demandF_plot_pkm.RDS"))
-  stop()
+  quit()
 }