X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Flib_internal%2Fmatchlist-initmanually.c;h=02aecd376b4db04be4bdb3aa2d4001e28cb3a01b;hb=60732e1202e4120af1e1c980a68ea85237978aad;hp=111ab420e97551bdf261a3d60e73773b892b3d16;hpb=5269e9607d89ac4dbd34f9adb5b14fb5dfc9b1a5;p=util-vserver.git diff --git a/util-vserver/lib_internal/matchlist-initmanually.c b/util-vserver/lib_internal/matchlist-initmanually.c index 111ab42..02aecd3 100644 --- a/util-vserver/lib_internal/matchlist-initmanually.c +++ b/util-vserver/lib_internal/matchlist-initmanually.c @@ -37,8 +37,8 @@ #include -extern int Global_getVerbosity(); -extern bool Global_doRenew(); +extern int Global_getVerbosity() PURE CONST; +extern bool Global_doRenew() PURE CONST; static void readExcludeListFD(int fd, @@ -157,7 +157,7 @@ MatchList_initManually(struct MatchList *list, char const *vserver, char **expr_files = 0; size_t expr_count = 0; - if (Global_getVerbosity()>3) { + if (Global_getVerbosity()>=1) { WRITE_MSG(1, "Initializing exclude-list for "); WRITE_STR(1, vdir); if (vserver!=0) { @@ -168,14 +168,14 @@ MatchList_initManually(struct MatchList *list, char const *vserver, WRITE_MSG(1, "\n"); } if (vserver && Global_doRenew()) { - if (Global_getVerbosity()>4) + if (Global_getVerbosity()>=2) WRITE_MSG(1, " Fetching configuration-file list from packagemanagement\n"); getConfigfileList(vserver, &fixed_files, &fixed_count, buf+0); } // abuse special values (NULL, empty string) to skip the next step if (exclude_file && *exclude_file) { - if (Global_getVerbosity()>4) WRITE_MSG(1, " Reading exclude file\n"); + if (Global_getVerbosity()>=6) WRITE_MSG(1, " Reading exclude file\n"); readExcludeList(exclude_file, &expr_files, &expr_count, buf+1);