/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to network-hooks.d/bridge

* network-hooks.d/bridge: Bug fix - really find brctl.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    exit
30
30
fi
31
31
 
32
 
for brctl in /sbin/brctl /usr/sbin/brctl; do
33
 
    if [ -e "$brctl" ]; then
 
32
for b in /sbin/brctl /usr/sbin/brctl; do
 
33
    if [ -e "$b" ]; then
 
34
        brctl="$b"
34
35
        break
35
36
    fi
36
37
done