Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzej-jankowski committed Jun 17, 2014
1 parent daecc14 commit c2ab431
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ public List<SoftwareDTOResponse> GetSoftwareInfo()
List<SoftwareDTOResponse> software = new List<SoftwareDTOResponse>();

software.AddRange(GetSoftwareFromLocalMachine32());
software = MergeSoftwareLists(software, GetSoftwareFromLocalMachine64());
try
{
software = MergeSoftwareLists(software, GetSoftwareFromLocalMachine64());
}
catch (NullReferenceException)
{
// It is a 32 bit machine...
}

return software;
}
Expand Down

0 comments on commit c2ab431

Please sign in to comment.