[Pkg-ganeti-devel] [ganeti] 01/04: postinst: silence find errors
Apollon Oikonomopoulos
apoikos-guest at alioth.debian.org
Fri Nov 8 09:22:25 UTC 2013
This is an automated email from the git hooks/post-receive script.
apoikos-guest pushed a commit to branch master
in repository ganeti.
commit 4598a8cea41e0afcba7c8b731dca4e3c454a3c64
Author: Apollon Oikonomopoulos <apoikos at gmail.com>
Date: Mon Nov 4 21:36:18 2013 +0200
postinst: silence find errors
find may emit an error if /var/lib/ganeti/queue/archive does not exist. This is
normal, so ignore it.
---
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 7c2e5ca..1ed316a 100644
--- a/debian/ganeti.postinst.in
+++ b/debian/ganeti.postinst.in
@@ -52,7 +52,7 @@ esac
# Fix jobqueue archive permissions
# This may take a while, so we only do this if necessary
find /var/lib/ganeti/queue/archive -mindepth 1 -maxdepth 1 \
- -type d -not -user "@GNTMASTERUSER@" | while read dirname; do
+ -type d -not -user "@GNTMASTERUSER@" 2>/dev/null | while read dirname; do
/usr/lib/ganeti/ensure-dirs --full-run
break
done
--
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