forcemerge 580825 582360
thanks

also sprach Tollef Fog Heen <[email protected]> [2010.05.20.0944 +0200]:
> Currently, once in a while, mdadm (in testing at least) sends me mails
> as follows below:
> 
>    From: r...@xx (Cron Daemon)
>    Subject: Cron <r...@xx> [ -x /usr/share/mdadm/checkarray ] && [ $(date 
> +%d) -le 7 ] && /usr/share/mdadm/checkarray --cron --all --quiet (failed)
>    To: r...@xx
>    Date: Sun, 16 May 2010 00:57:01 +0100 (BST)
>    
>    command failed with exit status 1
> 
> It would be nicer if it didnt't send any if the reason for it exiting
> non-zero is that there are no arrays running.

Actually, I think this is due to the []-date test failing: #580825.

However, it is true that with the recent change in cron, checkarray
should not exit non-zero when there are no arrays, I guess.
I changed that to never exit non-zero, even if --cron is not given.
The warning is emitted if run without --cron, and that should be
enough.

http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commitdiff;h=b63f595c5d216751936ecd44b23d38860d79cc4c

-- 
 .''`.   martin f. krafft <[email protected]>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to