Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[common] Avoid false warnings on legacy config remove. JB#44449
Attempting to remove a file from read-only filesystem yields EROFS error even if the file does not exist. Which then leads usb-moded complaining about not being able to remove a file that does not exist. Check that legacy config file /etc/usb-moded/usb-moded.ini exist before attempting to remove it. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information