summaryrefslogtreecommitdiffstats
path: root/lib/libdevdctl/consumer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdevdctl/consumer.cc')
-rw-r--r--lib/libdevdctl/consumer.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libdevdctl/consumer.cc b/lib/libdevdctl/consumer.cc
index 6b9822e..e769894 100644
--- a/lib/libdevdctl/consumer.cc
+++ b/lib/libdevdctl/consumer.cc
@@ -129,10 +129,10 @@ Consumer::ConnectToDevd()
void
Consumer::DisconnectFromDevd()
{
- if (m_devdSockFD != -1)
+ if (m_devdSockFD != -1) {
syslog(LOG_INFO, "Disconnecting from devd.");
-
- close(m_devdSockFD);
+ close(m_devdSockFD);
+ }
m_devdSockFD = -1;
}
OpenPOWER on IntegriCloud