commit 4d00c1714741829d19602792a2244effe52b740a
Author: mis <[email protected]>
Date:   Mon Aug 22 12:13:25 2016 +0200

    - lxc stderr to /dev/null

 lxd.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lxd.init b/lxd.init
index ec5ee36..03fa8d0 100755
--- a/lxd.init
+++ b/lxd.init
@@ -46,7 +46,7 @@ start() {
        ntry=0
        while [ -z "$pid" -a $ntry -lt 5 ]; do
                [ -z "$pid" ] && sleep 1
-               pid=$(lxc info | awk '/serverpid:/{print $2}')
+               pid=$(lxc info 2>/dev/null | awk '/serverpid:/{print $2}')
                [ -n "$pid" ] && echo $pid > $pidfile
                ntry=$(($ntry+1))
        done
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lxd.git/commitdiff/4d00c1714741829d19602792a2244effe52b740a

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to