Fixed false positive in OS detection do to bad regx
git-svn-id: file:///home/svn/framework3/trunk@9776 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
5787ef30c0
commit
4efb7f4c1f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue