de8815a UTIL: exit() the forked process if exec()-ing a child process fails

9 files Authored by jhrozek 7 years ago, Committed by lslebodn 7 years ago,
    UTIL: exit() the forked process if exec()-ing a child process fails
    
    When exec() fails, we should not attempt to continue, but just kill the
    forked process. The patch adds this logic to the exec_child() and
    exec_child_ex() functions to avoid code duplication
    
    Resolves:
    https://fedorahosted.org/sssd/ticket/3016
    
    Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
    
        
file modified
+7 -7
file modified
+15 -15
file modified
+8 -8