From 535d4579a68cee233b05f7201e9d2f13c72cc829 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 22 Jun 2023 18:37:35 +0200 Subject: [PATCH] Create backup directory if necessary --- scripts/Windows/OS/Manage.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/OS/Manage.ps1 b/scripts/Windows/OS/Manage.ps1 index c5ab9592..b9597d2f 100644 --- a/scripts/Windows/OS/Manage.ps1 +++ b/scripts/Windows/OS/Manage.ps1 @@ -52,7 +52,7 @@ function Invoke-WindowsRestore([Context] $context) { if (-not $backupPath) { - New-Item -ItemType Directory "$backupPath"; + New-Item -ItemType Directory $context.BackupRoot(); } else {