update core controller

This commit is contained in:
Robin Müller 2021-07-24 17:08:26 +02:00
parent 733a89a97a
commit 07f531a044
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -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");