Bob Proulx wrote: > Here is a patch that I believe should fix the problem. I will also > attach it so that there won't be any mailer problems with the > transport of it.
And I broke it in the editing of it. Drat! > + bridge=$(brctl show | | awk 'NR==2{print$1}') Which is obviously incorrect. Here is a hopefully correct patch. With only one pipe in the pipeline. --- vif-bridge.orig 2013-08-07 20:01:57.240366430 -0600 +++ vif-bridge 2013-08-07 22:54:12.076993655 -0600 @@ -37,8 +37,7 @@ if [ -z "$bridge" ] then - bridge=$(brctl show | cut -d " -" -f 2 | cut -f 1) + bridge=$(brctl show | awk 'NR==2{print$1}') if [ -z "$bridge" ] then Bob
--- vif-bridge.orig 2013-08-07 20:01:57.240366430 -0600 +++ vif-bridge 2013-08-07 22:54:12.076993655 -0600 @@ -37,8 +37,7 @@ if [ -z "$bridge" ] then - bridge=$(brctl show | cut -d " -" -f 2 | cut -f 1) + bridge=$(brctl show | awk 'NR==2{print$1}') if [ -z "$bridge" ] then
signature.asc
Description: Digital signature