summaryrefslogtreecommitdiffstats
path: root/cobbler/action_reposync.py
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler/action_reposync.py')
-rw-r--r--cobbler/action_reposync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/action_reposync.py b/cobbler/action_reposync.py
index 495aa3a..57c2d08 100644
--- a/cobbler/action_reposync.py
+++ b/cobbler/action_reposync.py
@@ -314,7 +314,7 @@ class RepoSync:
if os.path.exists(getenforce):
data = sub_process.Popen(getenforce, shell=True, stdout=sub_process.PIPE).communicate()[0]
if data.lower().find("disabled") == -1:
- cmd3 = "chcon --reference /var/www %s" % repo_path
+ cmd3 = "chcon --reference /var/www %s >/dev/null 2>/dev/null" % repo_path
sub_process.call(cmd3, shell=True)