channels: fix exit-status not correctly set
channels: fix exit-status not correctly set

nviennot/libssh,DouglasHeriot/libssh,pouete/libssh,kedazo/libssh,sebadoom/libssh,pouete/libssh,DouglasHeriot/libssh,nviennot/libssh,DouglasHeriot/libssh,sebadoom/libssh,nviennot/libssh,nviennot/libssh,sebadoom/libssh,kedazo/libssh,pouete/libssh,kedazo/libssh,sebadoom/libssh,kedazo/libssh,DouglasHeriot/libssh,pouete/libssh