Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorverhoek <30193551+verhoek@users.noreply.github.com>2018-10-29 14:13:25 +0300
committerverhoek <30193551+verhoek@users.noreply.github.com>2018-10-29 14:13:25 +0300
commit4d8155fa43fb95d9d00b65a8572a91fe412594b8 (patch)
tree6caa8a7a2bfffbb700140d24e0b29c96c059586d /Duplicati/Library/Snapshots/HyperVUtility.cs
parentc398dec7681a239740b6ac11c24119513b66721a (diff)
parente33a145688bf9669be97ac9431321654afad669c (diff)
Merge remote-tracking branch 'origin/master' into issue/3311
Diffstat (limited to 'Duplicati/Library/Snapshots/HyperVUtility.cs')
-rw-r--r--Duplicati/Library/Snapshots/HyperVUtility.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Duplicati/Library/Snapshots/HyperVUtility.cs b/Duplicati/Library/Snapshots/HyperVUtility.cs
index 306b9aa80..cdaa8ce84 100644
--- a/Duplicati/Library/Snapshots/HyperVUtility.cs
+++ b/Duplicati/Library/Snapshots/HyperVUtility.cs
@@ -101,7 +101,7 @@ namespace Duplicati.Library.Snapshots
}
//Set the namespace depending off host OS
- _wmiv2Namespace = Environment.OSVersion.Version.Major >= 6 && Environment.OSVersion.Version.Minor >= 2;
+ _wmiv2Namespace = Environment.OSVersion.Version.Major > 6 || (Environment.OSVersion.Version.Major == 6 && Environment.OSVersion.Version.Minor >= 2);
//Set the scope to use in WMI. V2 for Server 2012 or newer.
_wmiScope = _wmiv2Namespace