Make sure a status of 0 is treated as an error

I left a very silly bug in my last commit... Sorry!