Flush stdout at the end of the update phase to prevent possible

duplicate output when "quotacheck -a -v" is used.

Approved by:	re (bmah)
This commit is contained in:
mpp 2007-09-14 03:12:19 +00:00
parent 3b34ee2e63
commit 8f456a5e20

View File

@ -405,6 +405,7 @@ chkquota(fsname, mntpt, qnp)
if (qnp->flags & HASGRP)
errs += update(mntpt, qnp->grpqfname, GRPQUOTA);
close(fi);
(void)fflush(stdout);
return (errs);
}