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:
Mike Pritchard 2007-09-14 03:12:19 +00:00
parent 1f0ea148f2
commit 4e41e905d8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172168

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);
}