/* stderr */\r
if (get_createfile_parameters(key, NSSM_REG_STDERR, path, &sharing, NSSM_STDERR_SHARING, &disposition, NSSM_STDERR_DISPOSITION, &flags, NSSM_STDERR_FLAGS)) return 6;\r
if (path[0]) {\r
- /* Same as stdin? */\r
+ /* Same as stdout? */\r
if (str_equiv(path, stdout_path)) {\r
/* Two handles to the same file will create a race. */\r
if (! DuplicateHandle(GetCurrentProcess(), si->hStdOutput, GetCurrentProcess(), &si->hStdError, 0, true, DUPLICATE_SAME_ACCESS)) {\r