diff --git a/src/sos/step_executor.py b/src/sos/step_executor.py
index <HASH>..<HASH> 100755
--- a/src/sos/step_executor.py
+++ b/src/sos/step_executor.py
@@ -1136,6 +1136,8 @@ class Base_Step_Executor:
                                             self.shared_vars[env.sos_dict['_index']].update(matched["vars"])
                                         # complete case: local skip without task
                                         env.controller_push_socket.send_pyobj(['progress', 'substep_ignored', env.sos_dict['step_id']])
+                                        # do not execute the rest of the statement
+                                        break
                                     else:
                                         sig.lock()
                                         try:
Fix execution of statements after successful signature validation in one case. #<I>