Final judgment shall not be rendered against the garnishee until the action against the defendant in the original action has been determined. If in such action judgment be rendered for the defendant, the garnishee shall be discharged and recover costs. If the plaintiff shall recover against the defendant in the original action, and the garnishee shall deliver up all the property, money, and credits of the defendant in his possession and pay all the money from him due as the court may order, the garnishee shall be discharged, and the costs of the proceedings against him shall be paid out of the property and money so surrendered, or as the court may think right and proper.
Neb. Rev. Stat. §§ 25-1031