summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-09 11:39:18 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-09 11:39:18 +0000
commit78ac4047579ca1a5fe7957c14931db8dfc894b5f (patch)
tree75fb1b737a8d8137cf6c95643abd84f3903debfe /mdkapplet
parenta3831d18e1f056963799a99f88039e9dde99aee0 (diff)
downloadmgaonline-78ac4047579ca1a5fe7957c14931db8dfc894b5f.tar
mgaonline-78ac4047579ca1a5fe7957c14931db8dfc894b5f.tar.gz
mgaonline-78ac4047579ca1a5fe7957c14931db8dfc894b5f.tar.bz2
mgaonline-78ac4047579ca1a5fe7957c14931db8dfc894b5f.tar.xz
mgaonline-78ac4047579ca1a5fe7957c14931db8dfc894b5f.zip
(silentCheck) since we allow working totally w/o the server, don't die if we're not registered
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 8b3fdf0b..28227387 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -301,7 +301,7 @@ sub silentCheck() {
gtkset_mousecursor_wait($w);
gtkflush(); go2State('busy'); gtkflush();
gtkset_mousecursor_normal($w) if !$insensitive_while_running_a_child;
- my $response = mdkonline::soap_is_new_update_for_distro($h{HOST_ID}, $h{HOST_KEY});
+ my $response = eval { mdkonline::soap_is_new_update_for_distro($h{HOST_ID}, $h{HOST_KEY}) };
$response = { code => 0, data => { isUpdateAvailable => 1 } };
my $status_err = mdkonline::check_server_response($response);
if ($status_err eq 'OK') {