Additional info log message for drive-audit

An additional info log message was added for case of
running drive-audit without failed device unmounting.

Change-Id: I11abee40a712b6c6de65e63626b6f7f0a9c9f4c7
This commit is contained in:
Tomas Matlocha 2016-01-05 12:32:50 +01:00 committed by Ondřej Nový
parent 02ecd51b90
commit d3dd137cad

View File

@ -200,6 +200,10 @@ if __name__ == '__main__':
(mount_point))
comment_fstab(mount_point)
unmounts += 1
else:
logger.info("Detected %s with %d errors "
"(Device not unmounted)" %
(mount_point, count))
recon_errors[mount_point] = count
total_errors += count
recon_file = recon_cache_path + "/drive.recon"