Return correct err code on quiet operations