From: Florent Bruneau Date: Sun, 28 Oct 2007 23:12:19 +0000 (+0100) Subject: Do not add text in verbose checkdb message. X-Git-Tag: xorg/0.9.15~14 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=2899fdf909d5b2b40faa85deb678ec4e78ddf04d;p=platal.git Do not add text in verbose checkdb message. The verbose state is already indicated in the mail subject, so there's no need of a reminder two lines below. This avoid void mail to be sent when no db check failed in verbose mode. Signed-off-by: Florent Bruneau --- diff --git a/bin/cron/checkdb.php b/bin/cron/checkdb.php index b8bab65..7abab81 100755 --- a/bin/cron/checkdb.php +++ b/bin/cron/checkdb.php @@ -64,9 +64,8 @@ if ( PEAR::isError($opts) ) { $opts = $opts[0]; foreach ( $opts as $opt) { switch ($opt[0]) { - case "v": - $opt_verbose=true; - echo "Mode verbeux\n"; + case "v": + $opt_verbose=true; break; } }