diff --git a/plugins/backup-restore/backup.c b/plugins/backup-restore/backup.c
index f285938..ca7ab29 100644
--- a/plugins/backup-restore/backup.c
+++ b/plugins/backup-restore/backup.c
@@ -324,7 +324,7 @@ check (const gchar *filename)
 
 	g_message ("Third result %d", result);
 
-	return result != 0;
+	return result == 0;
 }
 
 static gboolean
