If, within twenty-four (24) hours after service of the copy of the order, there is executed by one or more sufficient sureties of the defendant, to be approved by the sheriff, an undertaking to the plaintiff, in not less than double the amount of the value of the property as stated in the affidavit of the plaintiff, to the effect that the defendant will deliver the property to the plaintiff, if such delivery be adjudged, and will pay all costs and damages that may be awarded against him, the sheriff shall return the property to the defendant. If such undertaking be not given within twenty-four (24) hours after service of the order, the sheriff shall deliver the property to the plaintiff.
R.L. 1910, § 4804.