diff options
-rw-r--r-- | src/kernel/net.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/net.c b/src/kernel/net.c index 7654bdc..6801659 100644 --- a/src/kernel/net.c +++ b/src/kernel/net.c @@ -848,6 +848,7 @@ int dnbd3_net_disconnect(struct dnbd3_device *dev) if (!dev->socks) { info_dev(dev, "not connected"); + return 0; } dev->connected = false; |