summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-05 00:36:57 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-05 00:36:57 +0000
commitd8f8a71852e4659a564645172a45dd8caf83c4a1 (patch)
tree4f740abbb3cf03b0609c420ef47fcbe67dbeb5ce
parent9adab15cd9e635c8b919c5e1e5fa6faf8a93840a (diff)
downloadmgaonline-d8f8a71852e4659a564645172a45dd8caf83c4a1.tar
mgaonline-d8f8a71852e4659a564645172a45dd8caf83c4a1.tar.gz
mgaonline-d8f8a71852e4659a564645172a45dd8caf83c4a1.tar.bz2
mgaonline-d8f8a71852e4659a564645172a45dd8caf83c4a1.tar.xz
mgaonline-d8f8a71852e4659a564645172a45dd8caf83c4a1.zip
(checkNetwork) revert 238578 ("(checkConfig) remove unreachable code")
-rwxr-xr-xmdkapplet3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index ac9714c4..a5b2806f 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -423,7 +423,8 @@ sub checkNetwork() {
if (!isNetwork()) {
logIt(N_("Checking Network: seems disabled\n"));
go2State('disconnected');
- }
+ } elsif (member($state_global, qw(disconnected))) {
+ silentCheck(); #- state has changed, update
}
sub checkUpdates() {