mirror of
https://github.com/rancher-sandbox/rancher-desktop.git
synced 2021-10-13 00:04:06 +03:00
build/install-wsl.ps1: Make the not-restarting message less scary.
The users will actually see this message (because for now the elevated command prompt is visible). Signed-off-by: Mark Yen <mark.yen@suse.com>
This commit is contained in:
@@ -31,7 +31,7 @@ function Get-ElevationStatus {
|
||||
# Re-run the script if elevation is required. Must pass in the script arguments.
|
||||
function Restart-ScriptForElevation {
|
||||
if (Get-ElevationStatus) {
|
||||
Write-Output "Script is already elevated, no need to restart."
|
||||
Write-Output "Script is already elevated, no need to restart; continuing with installation..."
|
||||
return
|
||||
}
|
||||
$CommandLine = "-NoProfile -NonInteractive -ExecutionPolicy RemoteSigned -File `"${PSCommandPath}`" $($args)"
|
||||
|
||||
Reference in New Issue
Block a user