diff --git a/policycoreutils/run_init/run_init.c b/policycoreutils/run_init/run_init.c index 129db730..4bc32b1c 100644 --- a/policycoreutils/run_init/run_init.c +++ b/policycoreutils/run_init/run_init.c @@ -406,7 +406,7 @@ int main(int argc, char *argv[]) new_context); exit(-1); } - if (! access("/usr/sbin/open_init_pty", X_OK)) { + if (access("/usr/sbin/open_init_pty", X_OK) != 0) { if (execvp(argv[1], argv + 1)) { perror("execvp"); exit(-1);