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 b7be069..8a54554 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);