Check the correct errorlevel