diff --git a/src/main.rs b/src/main.rs index 46b6ed0..d9ff0b9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1245,7 +1245,7 @@ fn main() -> Result<(), Box> { // Get filesystem information println!("\nFilesystems:"); let output = Command::new("df") - .args(&["-h", "--output=source,fstype,size,used,avail,target"]) + .args(["-h", "--output=source,fstype,size,used,avail,target"]) .output()?; let fs_str = String::from_utf8(output.stdout)?; for line in fs_str.lines().skip(1) {