Packet mode returns non-zero exit code on error; style checked