Refactoring and feature extensions
I have further simplications and improvements on my mind (to follow separately for clarity):
-
nice error message if user doesn't exist at all -
fix calculation of percentage -
partial refactor: compose_quota_report
doesn't need thehome
flag. Instead, could combineuser
andhome
to provide thehomedirectory
.
Edited by Hans Fangohr