commit | 2c92f3c44f2e5bcfcabfe7771f17b77368d37b03 | [log] [tgz] |
---|---|---|
author | Keith <keith@rhizomatica.org> | Fri Mar 27 19:48:42 2020 -0500 |
committer | keith <keith@rhizomatica.org> | Sun Mar 29 00:20:42 2020 +0000 |
tree | fab4d8b4adbff29b963770eb4921475960dc9c56 | |
parent | 85fe6104c55c1d46efa2036afe927f924f6f9fcd [diff] |
Meas Tools: Avoid unusable terminal in case of error on osmo_sock_init If, as before this patch we call initCDKScreen() before attempting to bind the socket, then the socket bind fails, we exit and the terminal needs a reset. Attempt to open the socket before initCDKScreen() so we don't end up with a messed up terminal if the socket call fails. Change-Id: Ia5148d9ef386df314bc2837b3cb672150250bd2a