forked from mir/linux-vm-tools
Fixing an issue with if clause
This commit is contained in:
parent
18e82d731b
commit
6ca022d4f0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user