mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-05 02:55:31 +00:00
Fix tar extraction count when --quiet
This commit is contained in:
parent
c3b89b038d
commit
f8a1d4e288
@ -59,9 +59,8 @@ pub fn unpack_archive(reader: Box<dyn Read>, output_folder: &Path, quiet: bool)
|
||||
Bytes::new(file.size()),
|
||||
utils::strip_cur_dir(&output_folder.join(file.path()?)),
|
||||
));
|
||||
|
||||
files_unpacked += 1;
|
||||
}
|
||||
files_unpacked += 1;
|
||||
}
|
||||
|
||||
Ok(files_unpacked)
|
||||
|
Loading…
x
Reference in New Issue
Block a user