From 816829f326192f469195a5ae5cf20ebe147dc761 Mon Sep 17 00:00:00 2001 From: salles Date: Wed, 14 Jun 2006 19:34:06 +0200 Subject: [PATCH] On ractualise la mthode de comptage pour ne pas considrer les pages demandes n'existant pas. Quand une page est demande, un dossier son nom est cr. darcs-hash:20060614173406-72cb0-741d0da64d1cd2fdf77bf4e600ebc7b2e83736a8.gz --- munin/wiki_pages | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/munin/wiki_pages b/munin/wiki_pages index bc761c60..316e670e 100755 --- a/munin/wiki_pages +++ b/munin/wiki_pages @@ -12,4 +12,4 @@ if [ "$1" = "config" ]; then exit 0 fi -echo "total.value" `ls /var/local/wiki/data/pages/ | grep -v MoinEditorBackup | wc -l` +echo "total.value" `find /var/local/wiki/data/pages/ -name current -maxdepth 2 | wc -l`