From 770e4c76dbcb4225cb76fc3d03dd27f8ff03c99c Mon Sep 17 00:00:00 2001 From: tim-allen-ck Date: Tue, 16 Apr 2024 15:31:25 +0100 Subject: [PATCH] fix linting --- .../guacamole-azure-linuxvm/terraform/vm_config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/workspace_services/guacamole/user_resources/guacamole-azure-linuxvm/terraform/vm_config.sh b/templates/workspace_services/guacamole/user_resources/guacamole-azure-linuxvm/terraform/vm_config.sh index 1a28912d0a..0d80ce262d 100644 --- a/templates/workspace_services/guacamole/user_resources/guacamole-azure-linuxvm/terraform/vm_config.sh +++ b/templates/workspace_services/guacamole/user_resources/guacamole-azure-linuxvm/terraform/vm_config.sh @@ -25,7 +25,7 @@ if [ "${INSTALL_UI}" -eq 1 ]; then sudo apt-get install -y x11-xserver-utils fi -sudo -u ${VM_USER} -i bash -c 'echo xfce4-session > ~/.xsession' +sudo -u "${VM_USER}" -i bash -c 'echo xfce4-session > ~/.xsession' # Fix for blank screen on DSVM (/sh -> /bash due to conflict with profile.d scripts) sudo sed -i 's|!/bin/sh|!/bin/bash|g' /etc/xrdp/startwm.sh