/**
	Conditionally exit the virtual machine.
	Call System.exit(0) unless bsh.system.shutdownOnExit == false.
*/

bsh.help.exit = "usage: exit()";

exit() {
	// shutdown Java VM unless flagged
	if ( bsh.system.shutdownOnExit != false )
		System.exit(0);
}
