Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 14417a5d authored by Ng Zhi An's avatar Ng Zhi An
Browse files

Check that install file exists before unlink

This will remove spurious error messages in logcat such as:

08-02 00:27:21.580   600   600 E /system/bin/recovery-persist: Failed to
unlink /data/misc/recovery/last_install: No such file or directory

since the install file doesn't exist in the first place.

Bug: None
Test: m
Change-Id: Ifaa95729c50efae4e641286dfbe1718aceb5f50a
parent 4475f733
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment