[arch-projects] [netcfg] [PATCH 8/8] systemd: BRIDGE_INTERFACES is a string, not an array. Fix the logic in the generator.

Thomas Bächler thomas at archlinux.org
Fri Oct 26 17:09:18 EDT 2012


---
 systemd/netcfg-generator | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/systemd/netcfg-generator b/systemd/netcfg-generator
index 989040d..76365c9 100755
--- a/systemd/netcfg-generator
+++ b/systemd/netcfg-generator
@@ -39,7 +39,7 @@ list_profiles | while read p; do
             done
             ;;
         bridge)
-            for iface in "${BRIDGE_INTERFACES[@]}"; do
+            for iface in ${BRIDGE_INTERFACES}; do
                 systemd_devices+=("sys-subsystem-net-devices-${iface}.device")
             done
             ;;
-- 
1.8.0



More information about the arch-projects mailing list