summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikola Pajkovsky <npajkovs@redhat.com>2011-03-29 16:27:48 +0200
committerNikola Pajkovsky <npajkovs@redhat.com>2011-03-30 11:40:20 +0200
commitb50f8130591121bc0ce75e7046c592ac921a26cc (patch)
treed97375be5651cea34cb179e192083135b9a310ba /src
parent437fe4e8719276892f85d29d6e7f48caa1c021a9 (diff)
downloadabrt-b50f8130591121bc0ce75e7046c592ac921a26cc.tar.gz
abrt-b50f8130591121bc0ce75e7046c592ac921a26cc.tar.xz
abrt-b50f8130591121bc0ce75e7046c592ac921a26cc.zip
remove misleading error message
solution isn't good enough, but truly remove misleading message. Imagine the situation when user manually set environment Bugzilla_Password and manually run command a-a-b -c /path/to/config1 -c /path/config2 -c /path/config3. Now a-a-b smash all configs into one giant hash table. Just stir the pot. Environment can be set by cli and gui. We have a lot of input how to set config and question is how to determinate which config is wrong and blame someone/something. Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/abrt-action-bugzilla.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/abrt-action-bugzilla.cpp b/src/plugins/abrt-action-bugzilla.cpp
index e5e5bc8f..e066142b 100644
--- a/src/plugins/abrt-action-bugzilla.cpp
+++ b/src/plugins/abrt-action-bugzilla.cpp
@@ -643,9 +643,7 @@ static void report_to_bugzilla(
env = getenv("Bugzilla_Password");
password = env ? env : get_map_string_item_or_empty(settings, "Password");
if (!login[0] || !password[0])
- {
- error_msg_and_die(_("Empty login or password, please check %s"), PLUGINS_CONF_DIR"/Bugzilla.conf");
- }
+ error_msg_and_die(_("Empty login or password, please check your configuration"));
env = getenv("Bugzilla_BugzillaURL");
bugzilla_url = env ? env : get_map_string_item_or_empty(settings, "BugzillaURL");