Fix the check for a previous command prompt (i.e., removed the bogus !)