Fixed a syntax error when exiting the command line.