If no legal cause be shown for the imprisonment or restraint, the court shall discharge the party therefrom.

History of Section.
C.P.A. 1905, § 667; G.L. 1909, ch. 305, § 16; G.L. 1923, ch. 356, § 16; G.L. 1938, ch. 584, § 16; G.L. 1956, § 10-9-18.