This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
abrt-addon-python3/0142-cli-warn-users-about-Private-Reports.patch
Matej Habrnal 69165ba9cc Introduce abrt-addon-python3 package
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
2017-07-04 09:22:28 +02:00

31 lines
908 B
Diff

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