From 865362c73a78320456625a3d17b227bc8b1ed752 Mon Sep 17 00:00:00 2001
From: Florian Uhlig <f.uhlig@gsi.de>
Date: Fri, 18 Feb 2022 09:59:03 +0100
Subject: [PATCH] Forgot to set the changes

---
 sim/transport/steer/CbmTransport.cxx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sim/transport/steer/CbmTransport.cxx b/sim/transport/steer/CbmTransport.cxx
index cb7bee6ab6..72edb8858d 100644
--- a/sim/transport/steer/CbmTransport.cxx
+++ b/sim/transport/steer/CbmTransport.cxx
@@ -496,6 +496,7 @@ void CbmTransport::Run(Int_t nEvents)
                  << numMinAvailEvents << ")";
     LOG(warning) << "Set the number of events to process to " << numMinAvailEvents;
     LOG(warning) << "";
+    nEvents = numMinAvailEvents;
   }
 
   // --- Timer
-- 
GitLab