SyntaxFix
Write A Post
Hire A Developer
Questions
exit 1 is all you need. The 1 is a return code, so you can change it if you want, say, 1 to mean a successful run and -1 to mean a failure or something like that.
exit 1
1
-1