diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-04-11 12:58:45 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-04-11 12:58:45 +0000 |
commit | c47d612f85ef1fbab20416ef77861342fd7d01fa (patch) | |
tree | d1901bacbf3caa1e90dcb48de990ef2aadf57f5b | |
parent | 9cec2671aa994bed5ae9e2448baf67ef00e1bedb (diff) | |
download | mgaonline-c47d612f85ef1fbab20416ef77861342fd7d01fa.tar mgaonline-c47d612f85ef1fbab20416ef77861342fd7d01fa.tar.gz mgaonline-c47d612f85ef1fbab20416ef77861342fd7d01fa.tar.bz2 mgaonline-c47d612f85ef1fbab20416ef77861342fd7d01fa.tar.xz mgaonline-c47d612f85ef1fbab20416ef77861342fd7d01fa.zip |
(checkConfig) do not flood logs when config file is not there
-rwxr-xr-x | mdkapplet | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -384,7 +384,9 @@ sub setLastTime() { } sub checkConfig() { if (!-e $conffile) { - logIt(N("Checking config file: Not present\n")); + my $logged if 0; + logIt(N("Checking config file: Not present\n")) if !$logged; + $logged = 1; go2State('noconfig'); } elsif (!isNetwork()) { logIt(N("Checking Network: seems disabled\n")); |