Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(wsl): Put back the "path" argument to wsl_path in ds-identify #5537

Merged
merged 2 commits into from
Jul 23, 2024
Merged
Changes from all commits
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
4 changes: 2 additions & 2 deletions tools/ds-identify
Original file line number Diff line number Diff line change
Expand Up @@ -1696,7 +1696,7 @@ dscheck_VMware() {

WSL_path() {
local params="$1" path="$2" val=""
val="$(wslpath "$params" "$1")"
val="$(wslpath "$params" "$path")"
_RET="$val"
}

Expand Down Expand Up @@ -1776,7 +1776,7 @@ dscheck_WSL() {

# Then we can check for any .cloud-init folders for the user
if [ ! -d "$profile_dir/.cloud-init/" ] && [ ! -d "$profile_dir/.ubuntupro/.cloud-init/" ]; then
debug 1 "No .cloud-init directories found"
debug 1 "No .cloud-init directories found in $profile_dir"
return "${DS_NOT_FOUND}"
fi

Expand Down
Loading