mirror of
https://github.com/clearlinux/telemetrics-client.git
synced 2026-11-25 09:54:53 +00:00
Document condition under which core files are removed
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
This commit is contained in:
@@ -699,6 +699,8 @@ fail:
|
||||
close(core_fd);
|
||||
}
|
||||
|
||||
// Remove the core file by default, except when the --core-file option
|
||||
// is specified, or when keep_core is overridden to true.
|
||||
if (!core_file && !keep_core) {
|
||||
unlink(temp_core);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user