air is not going to escape out.
what you do by keeping the lever pressed overnight is letting the air that is in the line rise up (air is lighter so it rises up) in to the reservoir.. clearing the brake lines of air bubbles.
the other way of doing it is by bleeding the brake lines by undoing the bleeder nut and bleeding the lines.
i have posted the steps a few posts earlier that you need to take to be able to sort this issue. and also please get someone like a mechanic to ride the bike and get an opinion.. online discussions will only take you so far



Comment