update core controller
This commit is contained in:
parent
733a89a97a
commit
07f531a044
@ -269,7 +269,8 @@ ReturnValue_t CoreController::incrementAllocationFailureCount() {
|
||||
ReturnValue_t CoreController::versionFileInit() {
|
||||
|
||||
std::string unameFileName = "/tmp/uname_version.txt";
|
||||
std::string unameCmd = "uname -a > " + unameFileName;
|
||||
// TODO: No -v flag for now. If the kernel version is used, need to cut off first few letters
|
||||
std::string unameCmd = "uname -mnrso > " + unameFileName;
|
||||
int result = std::system(unameCmd.c_str());
|
||||
if(result != 0) {
|
||||
utility::handleSystemError(result, "CoreController::versionFileInit");
|
||||
|
Loading…
Reference in New Issue
Block a user