polish error message

This commit is contained in:
Dun Liang 2021-03-20 12:33:25 +08:00
parent 433cae596e
commit 7941175165
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ int system_popen(const char* cmd) {
void system_with_check(const char* cmd) {
auto ret = system_popen(cmd);
CHECK(ret>=0 && ret<=256) << "Run cmd failed:" << cmd <<
CHECK(ret>=0 && ret<256) << "Run cmd failed:" << cmd <<
"\nreturn -1. This might be an overcommit issue or out of memory."
<< "Try : sudo sysctl vm.overcommit_memory=1";
CHECKop(ret,==,0) << "Run cmd failed:" << cmd;