commit | 580cb2d4767ebd68c7cc90689dd7f818800dc046 | [log] [tgz] |
---|---|---|
author | Jayanth Othayoth <ojayanth@in.ibm.com> | Mon Jul 17 01:16:19 2017 -0500 |
committer | Jayanth Othayoth <ojayanth@in.ibm.com> | Thu Jul 27 21:08:25 2017 -0500 |
tree | f3f6243e06f5328d689a9e0884072a9c67470f99 | |
parent | 481bb3d424d17dd6416041c47afd0bc804f9daf4 [diff] |
Delete dump ID directory during dump entry deletion Change-Id: Ic77e86c9e45d4b25397a4b7cfd70e131a40bdfa8 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/dump_entry.cpp b/dump_entry.cpp index 7b9965c..d7878c9 100644 --- a/dump_entry.cpp +++ b/dump_entry.cpp
@@ -15,7 +15,7 @@ //Delete Dump file from Permanent location try { - fs::remove(file); + fs::remove_all(file.parent_path()); } catch (fs::filesystem_error& e) {