Patch hddtemp Nix store path
This commit is contained in:
parent
185c97e30e
commit
54c63e8cf4
2 changed files with 5 additions and 5 deletions
|
@ -63,7 +63,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
let mut drive_temps: Vec<String> = vec![];
|
||||
|
||||
for drive in drives {
|
||||
let output = match Command::new(&args.hddtemp_executable)
|
||||
let output = match Command::new("hddtemp")
|
||||
.arg("--unit=F")
|
||||
.arg(&drive)
|
||||
.output()
|
||||
|
@ -137,9 +137,6 @@ struct CliArgs {
|
|||
#[arg(short, long)]
|
||||
config_file: PathBuf,
|
||||
|
||||
#[arg(short, long)]
|
||||
hddtemp_executable: String,
|
||||
|
||||
#[arg(short, long)]
|
||||
debug: bool,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue