1
0
forked from mir/linux-vm-tools

Fixing an issue with if clause

This commit is contained in:
Justin Terry (VM) 2017-11-27 11:40:04 -08:00
parent 18e82d731b
commit 6ca022d4f0

View File

@ -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