mirror of
https://github.com/microsoft/linux-vm-tools
synced 2025-09-03 07:55:53 +00:00
Fixing an issue with if clause
This commit is contained in:
@@ -81,7 +81,7 @@ sudo make install
|
|||||||
|
|
||||||
if [ -f /etc/lightdm/lightdm.conf ]; then
|
if [ -f /etc/lightdm/lightdm.conf ]; then
|
||||||
sudo grep -f /etc/lightdm/lightdm.conf "xserver-config=/etc/X11/xrdp/xorg.conf"
|
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
|
echo "xserver-config=/etc/X11/xrdp/xorg.conf" | sudo tee --append /etc/lightdm/lightdm.conf > /dev/null
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user