summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog7
-rw-r--r--yum-etckeeper.py2
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index b989a5b..1f76b65 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+etckeeper (1.18) UNRELEASED; urgency=medium
+
+ * Send yum pre-commit output to /dev/null
+ Thanks, Andrew Colin Kissa
+
+ -- Joey Hess <id@joeyh.name> Tue, 17 Feb 2015 20:56:01 -0400
+
etckeeper (1.17) unstable; urgency=medium
* Fix name of DNF plugin.
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))