diff options
author | 2023-02-16 17:10:54 +0000 | |
---|---|---|
committer | 2023-02-21 15:03:00 +0000 | |
commit | 9b2bddc732b8a09b7091f983ee8161f1db277cae (patch) | |
tree | 8339b713165c582d4969ff7d678aa060a5aa66ab /build/apex/art_apex_test.py | |
parent | 0d58dce3f15e02a3581a26b6e2159b52b115c78b (diff) |
Don't log error when deleting a profile that doesn't exist.
Before this change, after `std::filesystem::remove` returns false, artd
logs an error message unless the `ec` out-parameter is ENOENT. However,
when the file doesn't exist, the function actually sets `ec` to 0
instead of ENOENT. This CL fixes the check.
Bug: 266036814
Test: m test-art-host-gtest-art_artd_tests
Ignore-AOSP-First: ART Services.
Change-Id: I259ba7ea55dcdae7f7e269a3a5331a253c23737f
Diffstat (limited to 'build/apex/art_apex_test.py')
0 files changed, 0 insertions, 0 deletions