msi: Flush errlog before exiting

macLib sends its errors to errlog.

Reported by Bruce Hill, SLAC.
This commit is contained in:
Andrew Johnson
2013-05-13 12:10:08 -05:00
parent a4fed4fe1a
commit 7ff7c37dc7

View File

@@ -19,6 +19,7 @@
#include <dbDefs.h>
#include <macLib.h>
#include <ellLib.h>
#include <errlog.h>
#include <epicsString.h>
#include <osiFileName.h>
@@ -133,6 +134,7 @@ int main(int argc,char **argv)
} while (isGlobal || isFile);
substituteDestruct(substitutePvt);
}
errlogFlush();
macDeleteHandle(macPvt);
inputDestruct(inputPvt);
free(templateName);