Include -e option in the ffdc during the dump collection
ffdc -e option is used to enable dump specific features.
Resolves openbmc/openbmc#1795
Change-Id: Ib90e590ab48d37413890a77e7d28162a5f4d5733
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/dump_manager.cpp b/dump_manager.cpp
index 3775842..02429c2 100644
--- a/dump_manager.cpp
+++ b/dump_manager.cpp
@@ -47,7 +47,7 @@
fs::path dumpPath(BMC_DUMP_PATH);
dumpPath /= std::to_string(lastEntryId + 1);
- execl("/usr/bin/ffdc", "ffdc", "-d", dumpPath.c_str(), nullptr);
+ execl("/usr/bin/ffdc", "ffdc", "-d", dumpPath.c_str(), "-e", nullptr);
//ffdc script execution is failed.
auto error = errno;