Bug#686100: mdadm: Typo in /etc/init.d/init.d/mdadm-raid's status command
Simon Ruderich
simon at ruderich.org
Tue Aug 28 14:46:32 UTC 2012
Package: mdadm
Version: 3.2.5-3
Severity: normal
Tags: patch
Hello,
It looks like there's typo in the status command of mdadm-raid:
status)
if [ -f /proc/mdstat ]; then
log_problem "no MD subsystem loaded"
exit 1
else
cat /proc/mdstat
fi
;;
The first check should be "if [ ! -f /proc/mdstat ]; then".
Regards,
Simon
--
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20120828/c0fc3140/attachment.pgp>
More information about the pkg-mdadm-devel
mailing list