From 6ca022d4f0b9c425ef2e426da811e20d23b73e62 Mon Sep 17 00:00:00 2001 From: "Justin Terry (VM)" Date: Mon, 27 Nov 2017 11:40:04 -0800 Subject: [PATCH] Fixing an issue with if clause --- ubuntu/16.04/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntu/16.04/install.sh b/ubuntu/16.04/install.sh index 9446b30..dc91918 100644 --- a/ubuntu/16.04/install.sh +++ b/ubuntu/16.04/install.sh @@ -81,7 +81,7 @@ sudo make install if [ -f /etc/lightdm/lightdm.conf ]; then sudo grep -f /etc/lightdm/lightdm.conf "xserver-config=/etc/X11/xrdp/xorg.conf" - if [ "$?" != "0"]; then + if [ "$?" != "0" ]; then echo "xserver-config=/etc/X11/xrdp/xorg.conf" | sudo tee --append /etc/lightdm/lightdm.conf > /dev/null fi else