[skip ci]ksud: fmt & clippy
This commit is contained in:
@@ -1,6 +1,3 @@
|
|||||||
use anyhow::{Context, Result};
|
|
||||||
use log::{info, warn};
|
|
||||||
use std::path::Path;
|
|
||||||
#[cfg(target_arch = "aarch64")]
|
#[cfg(target_arch = "aarch64")]
|
||||||
use crate::kpm;
|
use crate::kpm;
|
||||||
use crate::module::{handle_updated_modules, prune_modules};
|
use crate::module::{handle_updated_modules, prune_modules};
|
||||||
@@ -9,6 +6,9 @@ use crate::{
|
|||||||
assets, defs, ksucalls, metamodule, restorecon,
|
assets, defs, ksucalls, metamodule, restorecon,
|
||||||
utils::{self},
|
utils::{self},
|
||||||
};
|
};
|
||||||
|
use anyhow::{Context, Result};
|
||||||
|
use log::{info, warn};
|
||||||
|
use std::path::Path;
|
||||||
|
|
||||||
pub fn on_post_data_fs() -> Result<()> {
|
pub fn on_post_data_fs() -> Result<()> {
|
||||||
ksucalls::report_post_fs_data();
|
ksucalls::report_post_fs_data();
|
||||||
|
|||||||
@@ -170,7 +170,7 @@ impl UmountManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn init_umount_manager() -> Result<UmountManager> {
|
pub fn init_umount_manager() -> Result<UmountManager> {
|
||||||
let mut manager = UmountManager::new(None)?;
|
let manager = UmountManager::new(None)?;
|
||||||
|
|
||||||
if !Path::new(CONFIG_FILE).exists() {
|
if !Path::new(CONFIG_FILE).exists() {
|
||||||
manager.save_config()?;
|
manager.save_config()?;
|
||||||
|
|||||||
Reference in New Issue
Block a user