Correct condition for exec