Commit 23174001 authored by Geoff Simmons's avatar Geoff Simmons

trackrdrd: don't shutdown the monitor thread if it wasn't started

           (fixes the last commit)
parent d70ec7fd
......@@ -484,7 +484,8 @@ child_main(struct VSM_data *vd, int endless)
WRK_Halt();
WRK_Shutdown();
AZ(MQ_GlobalShutdown());
MON_StatusShutdown(monitor);
if (config.monitor_interval > 0.0)
MON_StatusShutdown(monitor);
LOG_Log0(LOG_INFO, "Worker process exiting");
LOG_Close();
exit(EXIT_SUCCESS);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment