iproto: don't attempt to close socket if it was not open
This can't entail any consequences, because socket fd is set to -1 in this case, but this just looks a bit messy. Let's clean it up. Follow-up commit 305dbcf6 ("iproto: close socket explicitly before wal_dir at exit").
Loading
Please register or sign in to comment