This commit is contained in:
amd64fox
2022-06-26 22:49:05 +03:00
parent 105833ac9e
commit f800b9e27a
+2 -1
View File
@@ -573,7 +573,8 @@ if (!($cache_on) -and !($cache_off)) {
do {
$ch = Read-Host -Prompt "Cache files that have not been used for more than XX days will be deleted.
Enter the number of days from 1 to 100"`n
Enter the number of days from 1 to 100"
Write-Host ""
if (!($ch -match "^[1-9][0-9]?$|^100$")) { incorrectValue }
}
while ($ch -notmatch '^[1-9][0-9]?$|^100$')