[Pkg-ganeti-devel] [ganeti] 01/02: ganeti.postinst: silence daemon-util errors

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Wed Mar 19 17:10:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

apoikos pushed a commit to branch master
in repository ganeti.

commit 4342833269c3be63e88707d23b8fe52fd0dd0d1b
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date:   Fri Mar 7 22:54:52 2014 +0200

    ganeti.postinst: silence daemon-util errors
---
 debian/ganeti.postinst.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/ganeti.postinst.in b/debian/ganeti.postinst.in
index 3b43512..c6f8efa 100644
--- a/debian/ganeti.postinst.in
+++ b/debian/ganeti.postinst.in
@@ -49,7 +49,7 @@ case "$1" in
 		update_symlinks=1
 
 	# ... or if we are not part of a cluster
-	elif ! /usr/lib/ganeti/@VER@/usr/lib/ganeti/daemon-util check-config; then
+	elif ! /usr/lib/ganeti/@VER@/usr/lib/ganeti/daemon-util check-config 2>/dev/null; then
 		update_symlinks=1
 
 	# ... or if something is broken

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ganeti/ganeti.git



More information about the Pkg-ganeti-devel mailing list