mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Silence possibly inadequate space warning with -f and -q options.
This commit is contained in:
parent
50cfb3b9f6
commit
d9aea489b9
2
rzip.c
2
rzip.c
|
|
@ -964,7 +964,7 @@ void rzip_fd(rzip_control *control, int fd_in, int fd_out)
|
|||
free_space = (i64)fbuf.f_bsize * (i64)fbuf.f_bavail;
|
||||
if (free_space < control->st_size) {
|
||||
if (FORCE_REPLACE)
|
||||
print_err("Warning, possibly inadequate free space detected, but attempting to compress due to -f option being used.\n");
|
||||
print_output("Warning, possibly inadequate free space detected, but attempting to compress due to -f option being used.\n");
|
||||
else {
|
||||
dealloc(st);
|
||||
failure("Possibly inadequate free space to compress file, use -f to override.\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue