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.16~244 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=1980014510f9930f2552688f4f2614ce0c7d68ed;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; } }