doczkal / rpms / abrt

Forked from rpms/abrt 4 years ago
Clone

Blame SOURCES/0142-cli-warn-users-about-Private-Reports.patch

47a88a
From 287977c966225108008effbe7eeae1d454836386 Mon Sep 17 00:00:00 2001
47a88a
From: Jakub Filak <jfilak@redhat.com>
47a88a
Date: Thu, 2 Jul 2015 15:34:38 +0200
47a88a
Subject: [PATCH] cli: warn users about Private Reports
47a88a
47a88a
We should not make '--authenticate' default but we must inform users
47a88a
about it.
47a88a
47a88a
Related: #1224984
47a88a
47a88a
Signed-off-by: Jakub Filak <jfilak@redhat.com>
47a88a
---
47a88a
 src/cli/abrt-cli.c | 2 ++
47a88a
 1 file changed, 2 insertions(+)
47a88a
47a88a
diff --git a/src/cli/abrt-cli.c b/src/cli/abrt-cli.c
47a88a
index f45523e..2e9e155 100644
47a88a
--- a/src/cli/abrt-cli.c
47a88a
+++ b/src/cli/abrt-cli.c
47a88a
@@ -149,6 +149,8 @@ int main(int argc, const char **argv)
47a88a
     {
47a88a
         if (g_cli_authenticate)
47a88a
             initialize_polkit_agent();
47a88a
+        else if (g_settings_privatereports)
47a88a
+            log(_("Private Reports is enabled, use 'abrt-cli -a COMMAND' to get the detected problems."));
47a88a
 
47a88a
         handle_internal_command(argc, argv, commands);
47a88a
 
47a88a
-- 
47a88a
2.4.3
47a88a