Skip to content

Commit

Permalink
libknet: fix listener remove return code
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Nov 8, 2012
1 parent a895180 commit f768c3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libknet/listener.c
Expand Up @@ -137,6 +137,7 @@ int _listener_remove(knet_handle_t knet_h, struct knet_link *lnk)

if (listener_cnt > 1) {
log_debug(knet_h, KNET_SUB_LISTENER, "listener_remove: listener still in use");
ret = EBUSY;
goto exit_unlock;
}

Expand Down

0 comments on commit f768c3e

Please sign in to comment.