diff options
Diffstat (limited to 'src/gui-gtk/main.c')
-rw-r--r-- | src/gui-gtk/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui-gtk/main.c b/src/gui-gtk/main.c index ec2904b1..0c1bc644 100644 --- a/src/gui-gtk/main.c +++ b/src/gui-gtk/main.c @@ -219,6 +219,9 @@ int main(int argc, char **argv) unsigned opts = parse_opts(argc, argv, program_options, program_usage_string); putenv(xasprintf("ABRT_VERBOSE=%u", g_verbose)); + char *pfx = getenv("ABRT_PROG_PREFIX"); + if (pfx && string_to_bool(pfx)) + msg_prefix = PROGNAME; if (opts & OPT_p) { msg_prefix = PROGNAME; |