diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-26 10:52:48 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-26 10:52:48 +0000 |
commit | 79394f50ff91ce3b82fba7afb63d7ad84efea1a4 (patch) | |
tree | 9ab9f32a1101fb509fdb825f1e71d9da461c1642 /perl-install/standalone | |
parent | 91c32b5e286c9aef88b6e20d069f0eb13e227bf6 (diff) | |
download | drakx-79394f50ff91ce3b82fba7afb63d7ad84efea1a4.tar drakx-79394f50ff91ce3b82fba7afb63d7ad84efea1a4.tar.gz drakx-79394f50ff91ce3b82fba7afb63d7ad84efea1a4.tar.bz2 drakx-79394f50ff91ce3b82fba7afb63d7ad84efea1a4.tar.xz drakx-79394f50ff91ce3b82fba7afb63d7ad84efea1a4.zip |
don't report a non existant crash when run w/o --error
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/drakbug | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/standalone/drakbug b/perl-install/standalone/drakbug index 210ace916..c786fa045 100755 --- a/perl-install/standalone/drakbug +++ b/perl-install/standalone/drakbug @@ -108,8 +108,7 @@ gtkadd($window->{window}, 1, create_scrolled_window( gtknew('TextView', editable => 0, height => 200, text => [ - if_($prog, $error ? - ( + if_($prog && $error, [ N("The \"%s\" program has crashed with the following error:", $prog), ], @@ -117,7 +116,6 @@ gtkadd($window->{window}, "\n\n " . join("\n ", split("\n", $error)) . "\n\n", { family => 'monospace' } ] - ) : [ N("The \"%s\" program has crashed.", $prog) . "\n\n" ] ), [ N("To submit a bug report, click on the report button. \nThis will open a web browser window on %s where you'll find a form to fill in. The information displayed above will be transferred to that server. \nThings useful to include in your report are the output of lspcidrake -v, kernel version, and /proc/cpuinfo.", $wizard_name) |