major change to override Write-Error func
This commit is contained in:
@@ -18,5 +18,5 @@ If ( Test-Path $InstallPath )
|
||||
{
|
||||
Write-Output "Starting Nextcloud"
|
||||
Try { Start-Process $InstallPath }
|
||||
Catch { LogErr $_.Exception.Message }
|
||||
Catch { Write-Error $_.Exception.Message }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user