fix ledger update
This commit is contained in:
@@ -516,7 +516,7 @@ int get_max_stat_data_index(const std::string& filepath) {
|
||||
|
||||
while (std::getline(file, line)) {
|
||||
// 查找符合要求的行
|
||||
if (line.find("pt61850netd_pqfe -d cfg_stat_data -s") != std::string::npos) {
|
||||
if (line.find("cloud-front") != std::string::npos) {
|
||||
// 找到 -s 参数位置
|
||||
std::size_t pos = line.find("-s");
|
||||
if (pos != std::string::npos) {
|
||||
|
||||
Reference in New Issue
Block a user