mirror of https://github.com/neutrinolabs/xrdp
sesman: fix for reading pid file
This commit is contained in:
parent
d33bb5eb4e
commit
a6592ed690
|
@ -202,6 +202,7 @@ main(int argc, char **argv)
|
|||
return 1;
|
||||
}
|
||||
|
||||
g_memset(pid_s, 0, sizeof(pid_s));
|
||||
error = g_file_read(fd, pid_s, 7);
|
||||
|
||||
if (-1 == error)
|
||||
|
|
Loading…
Reference in New Issue