Your message dated Sun, 12 Jun 2011 14:03:54 +0200
with message-id <[email protected]>
and subject line Re: Wrong exit status on error
has caused the Debian Bug report #554415,
regarding Wrong exit status on error
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
554415: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554415
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cciss-vol-status
Version: 1.03-1
The cciss_vol_status program is useless for unattended monitoring:
dory:~# cciss_vol_status /dev/cciss/c*d0 && echo success
/dev/cciss/c0d0: (Smart Array 6i) RAID 5 Volume 0 status: OK.
success
dory:~# cciss_vol_status /dev/zero && echo success
cciss_vol_status: /dev/zero is not a block device.
success
dory:~# cciss_vol_status /does-not-exist && echo success
cciss_vol_status: open /does-not-exist: No such file or directory
success
The exit status is always 0 (success).
--- End Message ---
--- Begin Message ---
As explained, using -p is what makes cciss-vol-status complain loudly
when one of the device nodes doesn't exist or fails to open.
I'm closing this bug, as I think this is sufficiently documented.
-ch
--- End Message ---