aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/syncmanager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/syncmanager.c b/shell/syncmanager.c
index da1ecae0..226cb342 100644
--- a/shell/syncmanager.c
+++ b/shell/syncmanager.c
@@ -243,7 +243,7 @@ static void got_response(GObject *source, GAsyncResult *res, gpointer user_data)
if (sna->error != NULL)
goto out;
- if (sna->entry->file_name != NULL && g_input_stream_has_pending(is)) {
+ if (sna->entry->file_name != NULL) {
gchar *path = g_build_filename(g_get_user_config_dir(), "hardinfo",
sna->entry->file_name, NULL);
GFile *file = g_file_new_for_path(path);