Correct command exit status

TE-567