diff --git a/src/cmd/ksh93/bltins/print.c b/src/cmd/ksh93/bltins/print.c index c00efc8..6c1d480 100644 --- a/src/cmd/ksh93/bltins/print.c +++ b/src/cmd/ksh93/bltins/print.c @@ -350,7 +350,7 @@ printv: if (pdata.nextarg == nullarg && pdata.argsize > 0) { sfwrite(outfile, stkptr(shp->stk, stktell(shp->stk)), pdata.argsize); } - if (sffileno(outfile) != sffileno(sfstderr)) sfsync(outfile); + if (!sflag && sffileno(outfile) != sffileno(sfstderr)) sfsync(outfile); sfpool(sfstderr, pool, SF_WRITE); exitval = pdata.err; } else if (vflag) {