Use correct condition for killing background processes

Bug: 26881641
Change-Id: Iccb0f48497e5a2023543d73b5c2067e5edaf717e
1 file changed