Fix validate exit status