launcher, launchctl: testing

This commit is contained in:
Bill Zissimopoulos
2016-05-13 11:10:59 -07:00
parent 5491187e1d
commit 1802ac8878
2 changed files with 5 additions and 7 deletions

View File

@ -74,7 +74,7 @@ static int call_pipe_and_report(PWSTR PipeBuf, ULONG SendSize, ULONG RecvSize)
warn("KO launcher: empty buffer");
else if (L'$' == PipeBuf[0])
{
if (1 == BytesTransferred)
if (sizeof(WCHAR) == BytesTransferred)
info("OK");
else
{