Fixed false positive in OS detection do to bad regx

git-svn-id: file:///home/svn/framework3/trunk@9776 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Carlos Perez 2010-07-11 01:42:48 +00:00
parent 5787ef30c0
commit 4efb7f4c1f
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ def enum_users(os)
path4users = ""
sysdrv = @client.fs.file.expand_path("%SystemDrive%")
if os =~ /7|Vista|2008/
if os =~ /Windows 7|Vista|2008/
path4users = sysdrv + "\\users\\"
path2purple = "\\AppData\\Roaming\\"
else