If, in the opinion of the court, or the judge thereof in vacation, the reasons so stated in the petition are sufficient in law, the court, or judge thereof in vacation, shall award such writ and the same shall be signed by the judge of such court and attested by the clerk thereof. But if such writ be awarded at the relation of any person, it shall not be issued until the relator shall give bond with good security, to be approved by the court or judge, in such penalty as the court or judge shall prescribe, with condition that the relator will pay all such costs and expenses as may be incurred by the state in the prosecution of such writ, in case the same shall not be recovered from and paid by the defendant therein.
Structure West Virginia Code