Fixed exit values for gloss