net_probe socket should be closed in any case

network verification fails if started 2 times in a row
with exception Socket error: Address already in use - bind(2)

Change-Id: If6e32a4297a4ef74d5c7c21b564a3462831be003
Closes-Bug: #1294754
This commit is contained in:
Dima Shulyak 2014-03-20 10:55:58 +02:00
parent f52db12624
commit d7c6c4d00f
1 changed files with 1 additions and 1 deletions

View File

@ -116,8 +116,8 @@ module MCollective
begin
socket.shutdown
rescue Errno::ENOTCONN
socket.close
end
socket.close
end
end