summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/virt-win-reg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virt-win-reg b/tools/virt-win-reg
index 333bd158..56dd6d64 100755
--- a/tools/virt-win-reg
+++ b/tools/virt-win-reg
@@ -486,7 +486,7 @@ sub lookup_pip_of_user_sid
# containing %systemroot%. Expand it and remove some other
# windows-isms. The caller will do case_sensitive_path for us, so
# we don't need to do that.
- s/%systemroot%/$systemroot/;
+ s/%systemroot%/$systemroot/i;
s/^c://i;
s,\\,/,g;