summaryrefslogtreecommitdiff
path: root/yum-etckeeper.py
diff options
context:
space:
mode:
Diffstat (limited to 'yum-etckeeper.py')
-rw-r--r--yum-etckeeper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yum-etckeeper.py b/yum-etckeeper.py
index c36e90b..b62a8a4 100644
--- a/yum-etckeeper.py
+++ b/yum-etckeeper.py
@@ -26,7 +26,7 @@ plugin_type = (TYPE_CORE,)
def pretrans_hook(conduit):
conduit.info(2, 'etckeeper: pre transaction commit')
servicecmd = conduit.confString('main', 'servicecmd', '/usr/bin/etckeeper')
- command = '%s %s' % (servicecmd, " pre-install")
+ command = '%s %s > /dev/null' % (servicecmd, " pre-install")
ret = os.system(command)
if ret != 0:
raise PluginYumExit('etckeeper returned %d' % (ret >> 8))