From c47d612f85ef1fbab20416ef77861342fd7d01fa Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 11 Apr 2006 12:58:45 +0000 Subject: (checkConfig) do not flood logs when config file is not there --- mdkapplet | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mdkapplet b/mdkapplet index dd742647..c1903fce 100755 --- a/mdkapplet +++ b/mdkapplet @@ -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")); -- cgit v1.2.1