[ticket/246] Exit with 1 if script encountered misspellings

B3P-246