The Ontario Court of Appeal has upheld a conditional sentence for a Whitby man convicted of shooting at armed intruders fleeing a home invasion.