diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-05-13 15:45:13 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-05-13 15:45:13 -0400 |
commit | 480798fdccd1d0bb5c4b160333f0933dc463053e (patch) | |
tree | 952b71b3262bf9f5a32474711b1126439b259316 /cobbler/action_reposync.py | |
parent | 045957209b62b2ab40a1bcdee0549ea54074bc48 (diff) | |
download | third_party-cobbler-480798fdccd1d0bb5c4b160333f0933dc463053e.tar.gz third_party-cobbler-480798fdccd1d0bb5c4b160333f0933dc463053e.tar.xz third_party-cobbler-480798fdccd1d0bb5c4b160333f0933dc463053e.zip |
Consolidate various repo related warnings under cobbler check and clean up prints elsewhere.
Diffstat (limited to 'cobbler/action_reposync.py')
-rw-r--r-- | cobbler/action_reposync.py | 2 |
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) |