mirror of
https://github.com/microsoft/linux-vm-tools
synced 2025-08-31 06:26:07 +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
|
||||
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
|
||||
|
Reference in New Issue
Block a user