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

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