fix: ignore disable auto launch error

This commit is contained in:
GyDi 2022-09-26 01:09:05 +08:00
parent 57d23eb043
commit 5e429c7a94
No known key found for this signature in database
GPG Key ID: 58B15242BA8277A6

View File

@ -206,7 +206,7 @@ impl Sysopt {
match enable {
true => auto_launch.enable()?,
false => auto_launch.disable()?,
false => crate::log_if_err!(auto_launch.disable()), // 忽略关闭的错误
};
Ok(())