diff --git a/gefahrgutformular/gefahrgutformular.cls b/gefahrgutformular/gefahrgutformular.cls
index 3f5f07d3c1502742441d96f07db609e43a4aa571..1d8943ae86fa705cbe9af0eb2cfb53669889c88b 100644
--- a/gefahrgutformular/gefahrgutformular.cls
+++ b/gefahrgutformular/gefahrgutformular.cls
@@ -21,7 +21,7 @@
   \ClassError{gefahrgutformular}{LuaTeX is required for this class. Aborting.}{%
     This class can only be used with the LuaTeX engine\MessageBreak
     (command `lualatex').}
-  \expandafter\luacode@sty@endinput
+  \expandafter\stop
 \fi
 
 \RequirePackage{fontspec}