This fixes the problem where a bulk operation (like ip flush) is performed as non-root user. The kernel will only send a response if there is an error, so check for it.