Refactor the determination of the nextcloud path
This commit is contained in:
parent
50774027f3
commit
f81ccaff85
|
@ -255,7 +255,7 @@ class Context {
|
|||
}
|
||||
|
||||
$nextcloudProcess = Get-Process nextcloud;
|
||||
$nextcloudPath = $nextcloudProcess.Path;
|
||||
$nextcloudPath = [string]$nextcloudProcess[0].Path;
|
||||
$nextcloudProcess | Stop-Process -Force;
|
||||
|
||||
$accountSectionEntered = $false;
|
||||
|
|
Loading…
Reference in a new issue