Whenever any such warehouseman fails to perform his duty or violates any of the provisions of this chapter, any person injured by such failure or violation may bring an action in his name and to his own use, in any court of competent jurisdiction, on the bond of such warehouseman. And in case he shall fail in such action he shall be liable to the defendant for any costs which the defendant may recover in the action.
S.C. Code § 39-19-30