summaryrefslogtreecommitdiffstats
path: root/src/CLI/CLI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/CLI/CLI.cpp')
-rw-r--r--src/CLI/CLI.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/CLI/CLI.cpp b/src/CLI/CLI.cpp
index 323ba006..b082115c 100644
--- a/src/CLI/CLI.cpp
+++ b/src/CLI/CLI.cpp
@@ -265,15 +265,10 @@ int main(int argc, char** argv)
return 1;
}
-#ifdef ENABLE_DBUS
DBusError err;
dbus_error_init(&err);
s_dbus_conn = dbus_bus_get(DBUS_BUS_SYSTEM, &err);
handle_dbus_err(s_dbus_conn == NULL, &err);
-#elif ENABLE_SOCKET
- CABRTSocket ABRTDaemon;
- ABRTDaemon.Connect(VAR_RUN"/abrt.socket");
-#endif
/* Do the selected operation. */
int exitcode = 0;
@@ -316,9 +311,5 @@ int main(int argc, char** argv)
}
}
-#if ENABLE_SOCKET
- ABRTDaemon.Disconnect();
-#endif
-
return exitcode;
}