Clean up codebase, use patch in hddtemp Nix store path #1

Merged
Nickiel merged 9 commits from ElnuDev/nicks_nextcloud_integrations:main into main 2023-08-26 12:46:03 -07:00
Showing only changes of commit 70505f2078 - Show all commits

View file

@ -7,17 +7,13 @@ use std::{process::Command, path::PathBuf};
fn main() -> Result<(), Box<dyn std::error::Error>> {
let args = CliArgs::parse();
if args.debug {
let _ = simplelog::SimpleLogger::init(
simplelog::LevelFilter::Debug,
simplelog::Config::default(),
);
} else {
let _ = simplelog::SimpleLogger::init(
simplelog::LevelFilter::Info,
simplelog::Config::default(),
);
}
simplelog::SimpleLogger::init(
match args.debug {
true => simplelog::LevelFilter::Debug,
false => simplelog::LevelFilter::Info,
},
simplelog::Config::default(),
)?;
debug!("Opening Config file: {}", args.config_file.display());
debug!(