X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fmdadm.git;a=blobdiff_plain;f=Monitor.c;h=af531294cc53c908ea7a1b88f7a1e0870c5c62bf;hp=cbc5d0fe9ebf5ca3a2b6de6f06ad8276dd8d85d7;hb=8844e291492b82f4bae6129673fb383a309514c0;hpb=661dce36178960a20a5bcbb3bbf92e721df1bec0 diff --git a/Monitor.c b/Monitor.c index cbc5d0fe..af531294 100644 --- a/Monitor.c +++ b/Monitor.c @@ -434,6 +434,8 @@ int Monitor(mddev_dev_t devlist, st->spare_group = NULL; st->expected_spares = -1; statelist = st; + if (test) + alert("TestMessage", st->devname, NULL, mailaddr, mailfrom, alert_cmd, dosyslog); alert("NewArray", st->devname, NULL, mailaddr, mailfrom, alert_cmd, dosyslog); new_found = 1; }