fix: ignore disable auto launch error

This commit is contained in:
GyDi
2022-09-26 01:09:05 +08:00
parent 8503e8c9ad
commit 55ed58c4a0

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(())