mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-21 11:10:50 +02:00
os: print newline after printing display name
Much easier for scripts that try to read the display value off the file descriptor. Plus, this restores the behaviour we had for this patch in Fedora since server 1.6 (April 2009). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
This commit is contained in:
parent
e1f86a7c77
commit
014ad46f1b
1 changed files with 1 additions and 0 deletions
|
|
@ -353,6 +353,7 @@ NotifyParentProcess(void)
|
|||
#if !defined(WIN32)
|
||||
if (dynamic_display[0]) {
|
||||
write(displayfd, dynamic_display, strlen(dynamic_display));
|
||||
write(displayfd, "\n", 1);
|
||||
close(displayfd);
|
||||
}
|
||||
if (RunFromSmartParent) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue