From 2fcd00aa27e4db065980affa0665132478403ee8 Mon Sep 17 00:00:00 2001 From: piaip Date: Sat, 13 Jun 2009 19:19:32 +0000 Subject: * only report welcome screen change in verbose mode git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4603 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- daemon/logind/logind.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/daemon/logind/logind.c b/daemon/logind/logind.c index 2bc63d61..68e6ba9e 100644 --- a/daemon/logind/logind.c +++ b/daemon/logind/logind.c @@ -835,7 +835,9 @@ regular_check() if (dasht(FN_WELCOME) != g_welcome_mtime) { g_reload_data = 1; - fprintf(stderr, LOG_PREFIX "modified. must update welcome screen ...\r\n"); + if (g_verbose) + fprintf(stderr, LOG_PREFIX + "modified. must update welcome screen ...\r\n"); } } -- cgit v1.2.3