[packages/lxd] - fixed is_bridge_up()

mis mis at pld-linux.org
Mon Aug 22 17:51:35 CEST 2016


commit 485326f0d05ce0c140586adc8142e5798233d3d8
Author: mis <mis at pld-linux.org>
Date:   Mon Aug 22 17:44:52 2016 +0200

    - fixed is_bridge_up()

 lxdbr.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lxdbr.init b/lxdbr.init
index a638f4a..b07e748 100755
--- a/lxdbr.init
+++ b/lxdbr.init
@@ -29,7 +29,7 @@ if [ -z "$BRIDGE_DEV" -o -z "$BRIDGE_IPADDR" ]; then
 fi
 
 is_bridge_up() {
-	ip link show $BRIDGE_DEV 2>/dev/null | grep -q ",UP,"
+	ip link show $BRIDGE_DEV 2>/dev/null | grep -q ",UP"
 }
 
 start() {
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list