We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec8c6d1 commit 383ed22Copy full SHA for 383ed22
registry/coder/modules/kasmvnc/run.sh
@@ -230,9 +230,7 @@ get_http_dir() {
230
231
# Check the system configuration path
232
if [[ -e /etc/kasmvnc/kasmvnc.yaml ]]; then
233
- d=$(grep -E '^\s*httpd_directory:.*$' "/etc/kasmvnc/kasmvnc.yaml" | awk '{print $2}')
234
-
235
- if [[ -n "$d" ]]; then
+ if [[ -n "$d" && -d "$d" ]]; then
236
httpd_directory=$d
237
fi
238
0 commit comments