aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/callbacks.c')
-rw-r--r--hardinfo2/callbacks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hardinfo2/callbacks.c b/hardinfo2/callbacks.c
index e9669a26..021560e2 100644
--- a/hardinfo2/callbacks.c
+++ b/hardinfo2/callbacks.c
@@ -25,6 +25,7 @@
#include "shell.h"
#include "report.h"
+#include "remote.h"
#include "syncmanager.h"
#include "help-viewer.h"
#include "xmlrpc-server.h"
@@ -112,7 +113,7 @@ void cb_local_computer()
Shell *shell = shell_get_main_shell();
shell_status_update("Disconnecting...");
- remote_disconnect_all();
+ remote_disconnect_all(TRUE);
shell_status_update("Unloading modules...");
module_unload_all();