]> git.tue.mpg.de Git - adu.git/commitdiff
Do not print non-admissible uids in user summary.
authorAndre Noll <maan@systemlinux.org>
Sat, 31 May 2008 18:42:25 +0000 (20:42 +0200)
committerAndre Noll <maan@systemlinux.org>
Sat, 31 May 2008 18:42:25 +0000 (20:42 +0200)
adu.c

diff --git a/adu.c b/adu.c
index b7be0696e260ba966b409748e1ecc3e579880388..8a54554f076118746bc6544d2ed51623fee38f67 100644 (file)
--- a/adu.c
+++ b/adu.c
@@ -748,7 +748,7 @@ static void print_id_stats(void)
        FOR_EACH_USER(ui) {
                char formated_dir_count[25], formated_file_count[25],
                        formated_bytes[25];
-               if (!ui_used(ui))
+               if (!ui_used(ui) || !ui_admissible(ui))
                        continue;
                format_count_value(conf.count_unit_arg, ui->dirs,
                        formated_dir_count);