summaryrefslogtreecommitdiff
path: root/launchd/user_startx/Makefile.am
diff options
context:
space:
mode:
authorRickie Schroeder <1187-Gregg16@users.noreply.gitlab.freedesktop.org>2020-08-28 13:34:05 +0000
committerRickie Schroeder <1187-Gregg16@users.noreply.gitlab.freedesktop.org>2020-08-28 13:34:05 +0000
commite2430bcb8327682340d985f89ad5137efa2f0d4f (patch)
treef8b81cdbfa6e2091267fb4fb1707de34ebe1c311 /launchd/user_startx/Makefile.am
parent91d2aba6364ec6685411595ccafea69fe9d20d6c (diff)
startx: use uname -n instead of hostname
startx calls hostname to obtain the hostname, but this is not defined by POSIX, so not guaranteed to work. The script already does some checks to deal with different hostname implementations on Linux. Using uname -n instead fixes this in a portable way.
Diffstat (limited to 'launchd/user_startx/Makefile.am')
0 files changed, 0 insertions, 0 deletions