]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdmon.c
mdmon: don't complain about notifying parent when there is no need
authorNeilBrown <neilb@suse.de>
Mon, 20 Jan 2014 22:43:31 +0000 (09:43 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 20 Jan 2014 22:43:31 +0000 (09:43 +1100)
commit5e57245e3feba65385fc100e0f2c3d1214d79915
treea6a18abd8560900a3a31229447038f5ec649b8cb
parent1ca5c8e0c74946f4fcd74e97c5f48fba482d9596
mdmon: don't complain about notifying parent when there is no need

When run with --foreground mdmon has no need to notify any
parent, so it shouldn't even try, let alone complain when it fails.

Also close an end of a pipe which is no longer used.

Signed-off-by: NeilBrown <neilb@suse.de>
mdmon.c