diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-09 11:39:18 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-09 11:39:18 +0000 |
commit | 78ac4047579ca1a5fe7957c14931db8dfc894b5f (patch) | |
tree | 75fb1b737a8d8137cf6c95643abd84f3903debfe /mdkapplet | |
parent | a3831d18e1f056963799a99f88039e9dde99aee0 (diff) | |
download | mgaonline-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-x | mdkapplet | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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') { |