policycoreutils: setfiles: do not wrap * output at 80 characters
Russell Coker pointed out most displays are no 80 chars so we should just put out * and let the terminal wrap itself. Signed-off-by: Dan Walsh <dwalsh@redhat.com> Acked-by: Eric Paris <eparis@redhat.com>
This commit is contained in:
parent
f23e078018
commit
1d54976d73
|
@ -113,10 +113,6 @@ static int restore(FTSENT *ftsent)
|
|||
|
||||
if (r_opts->progress) {
|
||||
r_opts->count++;
|
||||
if (r_opts->count % (80 * STAR_COUNT) == 0) {
|
||||
fprintf(stdout, "\n");
|
||||
fflush(stdout);
|
||||
}
|
||||
if (r_opts->count % STAR_COUNT == 0) {
|
||||
fprintf(stdout, "*");
|
||||
fflush(stdout);
|
||||
|
|
Loading…
Reference in New Issue