machine: validation fix for new installs

Add a missing return statement to _link_data_subfolder.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2022-10-17 06:30:54 -04:00
parent 7552631b65
commit f1c4d6b143
No known key found for this signature in database
GPG Key ID: 5A1EB336DFB4C71B
1 changed files with 1 additions and 0 deletions

View File

@ -1433,6 +1433,7 @@ class InstallValidator:
f"Source path '{source_dir}' does not exist. Falling "
f"back to default folder {subfolder}"
)
return
if not source_dir.is_dir():
raise ValidationError(
f"Failed to link subfolder '{folder_name}' to source path "