If an action be brought against a sheriff for an act done by virtue of his or her office, and the sheriff gives written notice thereof to the sureties on any bond of indemnity received by the sheriff, the judgment recovered therein shall be conclusive evidence of the sheriff’s right to recover against such sureties, and the court or judge in vacation, may, on motion, upon notice of 5 days, order judgment to be entered up against them for the amount so recovered, including costs.
[1911 CPA § 300; RL § 5242; NCL § 8798]