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:
parent
3b34ee2e63
commit
8f456a5e20
@ -405,6 +405,7 @@ chkquota(fsname, mntpt, qnp)
|
|||||||
if (qnp->flags & HASGRP)
|
if (qnp->flags & HASGRP)
|
||||||
errs += update(mntpt, qnp->grpqfname, GRPQUOTA);
|
errs += update(mntpt, qnp->grpqfname, GRPQUOTA);
|
||||||
close(fi);
|
close(fi);
|
||||||
|
(void)fflush(stdout);
|
||||||
return (errs);
|
return (errs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user