summaryrefslogtreecommitdiffstats
path: root/loader2/selinux.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-08-25 18:48:43 +0000
committerJeremy Katz <katzj@redhat.com>2004-08-25 18:48:43 +0000
commit4b8008174c1ce86cef7dd055ddbd76cda688175e (patch)
tree1e701ba5447c64fd49dd6e2b54e8bc1b749d43e8 /loader2/selinux.c
parent5520137dd1152680293e6f0caaafc1ee80f4f1a9 (diff)
downloadanaconda-4b8008174c1ce86cef7dd055ddbd76cda688175e.tar.gz
anaconda-4b8008174c1ce86cef7dd055ddbd76cda688175e.tar.xz
anaconda-4b8008174c1ce86cef7dd055ddbd76cda688175e.zip
exec load_policy with -q to make warning be quiet (#129860)
Diffstat (limited to 'loader2/selinux.c')
-rw-r--r--loader2/selinux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader2/selinux.c b/loader2/selinux.c
index 78e470885..41ecb84c8 100644
--- a/loader2/selinux.c
+++ b/loader2/selinux.c
@@ -82,7 +82,7 @@ int loadpolicy() {
if (!(pid = fork())) {
setenv("LD_LIBRARY_PATH", LIBPATH, 1);
execl("/usr/sbin/load_policy",
- "/usr/sbin/load_policy", fn, NULL);
+ "/usr/sbin/load_policy", "-q", fn, NULL);
logMessage("exec of load_policy failed: %s", strerror(errno));
exit(1);
}