After hearing the motion, the court or judge shall overrule the motion, or dissolve or modify the injunction, according to the right of the case.