Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
check for directory existence
Co-authored-by: Copilot <[email protected]>
  • Loading branch information
chgl and Copilot authored Aug 26, 2025
commit 383ed223571f16c11dc3399dcea15b19c7f1ee92
4 changes: 1 addition & 3 deletions registry/coder/modules/kasmvnc/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,7 @@ get_http_dir() {

# Check the system configuration path
if [[ -e /etc/kasmvnc/kasmvnc.yaml ]]; then
d=$(grep -E '^\s*httpd_directory:.*$' "/etc/kasmvnc/kasmvnc.yaml" | awk '{print $2}')

if [[ -n "$d" ]]; then
if [[ -n "$d" && -d "$d" ]]; then
httpd_directory=$d
fi
fi
Expand Down
Loading