mscan: silence %b when !msg

pull/2/head
Christian Neukirchen 8 years ago
parent 019a6680f5
commit c2f9fa7271

@ -367,9 +367,13 @@ oneline(char *file)
case 'b':
{
struct stat st;
if (stat(file, &st) != 0)
st.st_size = 0;
print_human(st.st_size);
if (msg) {
if (stat(file, &st) != 0)
st.st_size = 0;
print_human(st.st_size);
} else {
printf(" ");
}
wleft -= 5;
}
break;

Loading…
Cancel
Save