From 71029404b8ccf791d580b42a5d75af49535b9ab6 Mon Sep 17 00:00:00 2001 From: Michael Pyne Date: Tue, 13 Nov 2007 00:56:22 +0000 Subject: [PATCH] I guess the EOF from the update process on the second try can happen after all. svn path=/trunk/KDE/kdesdk/scripts/kdesvn-build; revision=735916 --- kdesvn-build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kdesvn-build b/kdesvn-build index 18667da..9cc8c47 100755 --- a/kdesvn-build +++ b/kdesvn-build @@ -6038,10 +6038,11 @@ sub handle_monitoring # I'm pretty sure EOF shouldn't happen here, otherwise we'd # have something to send. my $msg = $ipc->receiveFromUpdater(); - if (not defined $msg) + if (not defined $msg and $!) { error "r[mon]: Monitor IPC error, unexpected disappearance of updater."; - error "r[mon]: Mysterious circumstances: r[b[$!]" if $!; + error "r[mon]: Mysterious circumstances: r[b[$!]"; + return 1; } push @msgs, $msg;