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

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