commit | d46e88abb6e1f7b0228c30c98ba4fb739e63cda3 | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Wed Jul 20 12:19:48 2011 -0400 |
committer | Eric Paris <eparis@redhat.com> | Wed Sep 12 12:16:01 2012 -0400 |
tree | a4dda15d5ec1b5b50589db9504976e9eef8d53c5 | |
parent | 4a33c78ca572598ff76976a41d8b456293dfaebc [diff] |
policycoreutils: run_init: If open_init_pty is not available then just use exec Sometimes using open_init_pty isn't possible. So just call exec() if that is the case. We no longer ship open_init_pty in Fedora or RHEL6 since it was causing more problems then it was worth. This fix makes it optional to use the open_init_pty. Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>