summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-26 10:52:48 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-26 10:52:48 +0000
commit79394f50ff91ce3b82fba7afb63d7ad84efea1a4 (patch)
tree9ab9f32a1101fb509fdb825f1e71d9da461c1642 /perl-install
parent91c32b5e286c9aef88b6e20d069f0eb13e227bf6 (diff)
downloaddrakx-backup-do-not-use-79394f50ff91ce3b82fba7afb63d7ad84efea1a4.tar
drakx-backup-do-not-use-79394f50ff91ce3b82fba7afb63d7ad84efea1a4.tar.gz
drakx-backup-do-not-use-79394f50ff91ce3b82fba7afb63d7ad84efea1a4.tar.bz2
drakx-backup-do-not-use-79394f50ff91ce3b82fba7afb63d7ad84efea1a4.tar.xz
drakx-backup-do-not-use-79394f50ff91ce3b82fba7afb63d7ad84efea1a4.zip
don't report a non existant crash when run w/o --error
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS1
-rwxr-xr-xperl-install/standalone/drakbug4
2 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 7907f3b05..6a7cc6e3b 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,4 +1,5 @@
- drakbug
+ o don't report a non existant crash when run w/o --error
o when unable to access X11, just print the backtrace on the console
Version 10.4.210 - 24 September 2007, by Thierry Vignaud
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)