Update inspect_file.cc

Signed-off-by: Le Yao <le.yao@intel.com>
This commit is contained in:
Le Yao
2021-07-02 15:45:21 +08:00
committed by GitHub
parent bf2bde603f
commit 3dd0ed7979

View File

@@ -67,7 +67,7 @@ bool InspectFile::evaluate(Transaction *transaction, const std::string &str) {
s << buff;
}
pclose(in);
//pclose(in);
res.append(s.str());
if (res.size() > 1 && res.at(0) != '1') {