update startapp fail exit code