This commit is contained in:
akostin 2018-04-18 15:03:13 +03:00
parent b77c41b1a3
commit d3fb9c545d

View File

@ -393,6 +393,8 @@ func logic(key string, value map[string]interface{}, bitdir *string, with_label
}
if value["path"].(string)[len(value["path"].(string))-1] == os.PathSeparator {
newstructure.path = value["path"].(string)[:len(value["path"].(string))-1]
} else {
newstructure.path = value["path"].(string)
}
newstructure.Active_time = value["runtime"].(int64)
newstructure.Added_time = value["added_on"].(int64)