diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-06-21 14:26:15 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-06-22 10:49:06 +1000 |
commit | 014ad46f1b353a95e2c4289443ee857cfbabb3ae (patch) | |
tree | 98b0cbc179a5e9e454a29eb3f78520dea3399ecc /os | |
parent | e1f86a7c77ed49e001ea42ef76ab83e87dbdf126 (diff) |
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>
Diffstat (limited to 'os')
-rw-r--r-- | os/connection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/os/connection.c b/os/connection.c index 039942f91..344147220 100644 --- a/os/connection.c +++ b/os/connection.c @@ -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) { |