diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-03-25 11:18:33 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-03-25 11:18:33 +0000 |
commit | 228758b795b3c27d5fd146e380774b29db73432f (patch) | |
tree | 20df497a743e8442f9725c2f5ab552747363a9d1 /src/install.rs | |
parent | a45450a42e4cdcd7f2d5671984c9c7f3945131fd (diff) | |
parent | 00dc4a7a85b32c4337dd3672adec2cbfe3597bfe (diff) | |
download | vmadm-228758b795b3c27d5fd146e380774b29db73432f.tar.gz |
Merge branch 'tilde' into 'main'
test: don't hide clippy output if it's successful
See merge request larswirzenius/vmadm!30
Diffstat (limited to 'src/install.rs')
-rw-r--r-- | src/install.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.rs b/src/install.rs index e74e6ba..94c703c 100644 --- a/src/install.rs +++ b/src/install.rs @@ -116,7 +116,7 @@ pub fn virt_install(args: &VirtInstallArgs, iso: &Path) -> Result<PathBuf, VirtI .arg("--noautoconsole") .arg("--quiet") .output() - .map_err(|err| VirtInstallError::Run(err))?; + .map_err(VirtInstallError::Run)?; if !r.status.success() { let stderr = String::from_utf8(r.stderr)?; return Err(VirtInstallError::VirtInstallFailed(stderr)); |