summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsolenv/bin/build.pl8
1 files changed, 7 insertions, 1 deletions
diff --git a/solenv/bin/build.pl b/solenv/bin/build.pl
index a64c3e12c31e..5e424dfd6252 100755
--- a/solenv/bin/build.pl
+++ b/solenv/bin/build.pl
@@ -1719,6 +1719,12 @@ sub cancel_build {
sub store_error {
my ($pid, $error_code) = @_;
return 0 if (!$error_code);
+
+ #we don't care if zenity itself crashes, e.g. rhbz#670895
+ if (zenity_enabled()) {
+ return 0 if ($zenity_pid == $pid);
+ }
+
my $child_nick = $processes_hash{$pid};
if ($ENV{GUI} eq 'WNT') {
if (!defined $had_error{$child_nick}) {
@@ -2112,7 +2118,7 @@ sub zenity_enabled {
sub zenity_open {
if (zenity_enabled()) {
$SIG{PIPE} = 'IGNORE';
- my $zenity_pid = open3($zenity_in, $zenity_out, $zenity_err,
+ $zenity_pid = open3($zenity_in, $zenity_out, $zenity_err,
"zenity --notification --listen");
};
};