Skip to content

Commit

Permalink
recipe-wsl: exit 0 after first configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Matheus Castello <[email protected]>
  • Loading branch information
microhobby committed Mar 30, 2024
1 parent d980880 commit b91db8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cookbook/recipes-wsl/boot/boot.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ if ($null -eq $_user) {
# configured, we need to have a way to tell to Windows this
mkdir -p /mnt/c/Users/Public/.torizon
touch /mnt/c/Users/Public/.torizon/.configured

# the first configuration we exit for the wizard to finish
exit 0
} else {
Write-Host -ForegroundColor Red "Error: User not added?"
exit 69
Expand Down

0 comments on commit b91db8c

Please sign in to comment.